Github Action with a cronjob trigger #480
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Github Action with a cronjob trigger | |
on: | |
schedule: | |
- cron: "0 0 * */1 *" | |
jobs: | |
keepalive: | |
name: Cronjob based github action | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
token: ${{ secrets.BOT_GH_TOKEN }} | |
- uses: gautamkrishnar/keepalive-workflow@v1 | |
with: | |
gh_token: ${{ secrets.BOT_GH_TOKEN }} |