Skip to content

workflow-keepalive #867

workflow-keepalive

workflow-keepalive #867

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 }}