Skip to content

Commit

Permalink
Keep scheduled workflows alive
Browse files Browse the repository at this point in the history
  • Loading branch information
seanh committed Oct 8, 2024
1 parent 082aca4 commit b6f07ea
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/keepalive.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Prevent scheduled workflows from being disabled due to inactivity.
#
# GitHub disables scheduled workflows after 60 days of repo inactivity:
#
# > Warning: To prevent unnecessary workflow runs, scheduled workflows may be
# > disabled automatically.
# > ... In a public repository, scheduled workflows are automatically disabled
# > when no repository activity has occurred in 60 days.
#
# https://docs.github.com/en/actions/using-workflows/disabling-and-enabling-a-workflow
#
# This keep-alive workflow triggers whenever one of the scheduled workflows
# listed below completes and prevents that scheduled workflow from being
# disabled.
name: Keepalive
on:
workflow_run:
workflows: [CI, Update repos]
types: [completed]
branches: [main]
jobs:
Keepalive:
uses: hypothesis/workflows/.github/workflows/keepalive.yml@main

0 comments on commit b6f07ea

Please sign in to comment.