workflow-keepalive #871
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: workflow-keepalive | |
on: | |
schedule: | |
# run at midnight every day | |
- cron: "0 0 * * *" | |
jobs: | |
github-keep-active: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
# note this requires settings/actions/general/workflow | |
# permissions/ set to 'read and write permisisons'. | |
# will create dummy commit if no commit for 50 days | |
- name: Prevent GitHub from disabling sync after 60 days | |
uses: gautamkrishnar/keepalive-workflow@master | |
with: | |
gh_token: ${{ secrets.CR_PAT }} |