-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
23 additions
and
0 deletions.
There are no files selected for viewing
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
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 |