Comments (1)
@TomVasile simply add a contents: write
to the yaml file:
name: Github Action with a cronjob trigger
on:
schedule:
- cron: "0 0 * * *"
permissions:
contents: write
jobs:
cronjob-based-github-action:
name: Cronjob based github action
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
# - step1
# - step 2
# - step n, use it as the last step
- uses: gautamkrishnar/keepalive-workflow@v1 # using the workflow with default settings
You can also follow: gautamkrishnar/blog-post-workflow#67 (comment)
from keepalive-workflow.
Related Issues (15)
- Documentation on the impact of a "Dummy commit" HOT 8
- "unable to access" issue in multiple projects. HOT 5
- Fails with "Unable to Access" HOT 2
- write permission check using github API HOT 6
- Use branch "keep-alive" HOT 3
- [Question] Write Permission check HOT 4
- Node 20? HOT 1
- Add keepalive using GitHub actions API HOT 2
- Unexpected input(s) 'use_api' during action run HOT 4
- Please update Release 2.0 to say explicitly what needs to change HOT 6
- My workflow has been disabled even if I use this action HOT 2
- Workflow being disabled even though v2 is in use HOT 9
- Extraneous parameters reported in v2 HOT 1
- Error when using workflow HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from keepalive-workflow.