Skip to content

Commit

Permalink
Add keepalive action
Browse files Browse the repository at this point in the history
GitHub disables actions in repositories that haven't had any activity
for 60 days.  That's not useful here: I'm hoping this repository stays
very stable, but I want to keep the actions refreshing the RSS feed
indefinitely.  Use another GitHub action to perform some dummy activity
every ~52 days to keep the RSS feed action alive.
  • Loading branch information
me-and committed Jul 11, 2024
1 parent 73c7430 commit 848b4b0
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/keepalive.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Keep GitHub Actions running
on:
schedule:
# Equally spaced from a random starting point throughout the year, chosen
# to make sure there's enough slack to kick things at least every 60 days.
- cron: '2 11 10 2 *'
- cron: '54 14 3 4 *'
- cron: '20 18 25 5 *'
- cron: '46 21 16 7 *'
- cron: '12 1 7 9 *'
- cron: '37 4 29 10 *'
- cron: '3 8 20 12 *'
jobs:
keepalive:
runs-on: ubuntu-latest
permissions:
actions: write
steps:
- uses: liskin/gh-workflow-keepalive@f72ff1a1336129f29bf0166c0fd0ca6cf1bcb38c

0 comments on commit 848b4b0

Please sign in to comment.