Repository navigation
ci: keep the scheduled watchers enabled through quiet spells - #13
Merged
Merged
Conversation
GitHub disables every scheduled workflow in a public repository after 60 days without activity. In September-October 2026 that switched off upstream-drift in 22 of the 23 repositories of these families, and new upstream releases went unreported for weeks. keepalive.yml re-enables every active workflow weekly through the API - itself included - which restarts the 60-day clock without a commit. Workflows disabled by hand are left alone. Byte-identical across the families, like notify-parents.yml. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
🔵 Needs a closer look
The keepalive guarantee depends on GitHub resetting inactivity when /enable is called on an already-active workflow, a platform behavior that repository evidence cannot confirm.
No open issues 🎉
What changed in this PR
Adds a weekly keepalive workflow intended to prevent scheduled upstream watchers from being disabled during periods of repository inactivity.
Changes:
- Runs Mondays at 05:41 UTC and supports manual dispatch.
- Uses
GITHUB_TOKENwithactions: writeto re-enable active, file-backed workflows, including itself. - Leaves disabled workflows and GitHub-managed dynamic workflows untouched; restricts execution to repositories owned by
sbokatuk.
| File | Description |
|---|---|
.github/workflows/keepalive.yml |
Adds the scheduled and manually triggered workflow keepalive job. |
Review effort: Balanced
This branch was successfully deployed
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
GitHub disables every scheduled workflow in a public repository after 60 days without activity. In September–October 2026 that switched off
upstream-drift.ymlin 22 of the 23 repositories of these families (they were re-enabled by hand on 2026-10-30), and new upstream releases went unreported for weeks..github/workflows/keepalive.ymlre-enables every active workflow weekly (Mondays 05:41 UTC) through the API — itself included — which restarts the 60-day clock without a commit. Workflows disabled by hand are left alone; GitHub's dynamic workflows (Copilot, Pages) are skipped.GITHUB_TOKENwithactions: write.🤖 Generated with Claude Code