Context
The GitHub workflow docs state:
In a public repository, scheduled workflows are automatically disabled when no repository activity has occurred in 60 days.
List of affected workflows
Possible solutions
- Keep manually re-enabling affected workflows as they are noticed to be disabled
- Use the Keepalive Workflow action on affected workflows
- Create our own workflow that runs some activity as the Nextstrain bot. I'm not entirely sure what counts as "repository activity" but a couple options:
- Push dummy commit to main
- Push dummy commit to a long term "keep-alive" branch
- Create and delete a new branch
- Create and close a new issue
- Other ideas?
- ✅ Make a central keep-alive workflow that uses the GitHub REST API to disable/enable affected workflows every <60 days
- ⛔️ Use Terraform run regularly to control this. The official GitHub provider for Terraform doesn't expose the endpoint we need.
Context
The GitHub workflow docs state:
List of affected workflows
Possible solutions