Skip to content

ci: cancel superseded runs, Dependabot for Actions, daily pin and freshness checks - #91

Merged
drevendev merged 1 commit into
masterfrom
beautifulrepo/ci-hygiene-20261022
Oct 22, 2026
Merged

drevendev merged 1 commit into
masterfrom
beautifulrepo/ci-hygiene-20261022

Conversation

@drevendev

Copy link
Copy Markdown
Owner

Reader problem and change

Three practices borrowed from the owner's other repositories (epic #84):

  • Cancel superseded CI runs with concurrency groups #58: quality.yml gets workflow_dispatch plus a concurrency group. A new push to a PR cancels its superseded run; master runs always finish. The required job names are unchanged.

  • Enable Dependabot updates #54: .github/dependabot.yml sets weekly, grouped github-actions updates (limit 3). There are no Python dependencies. guides/maintenance-workflow.md notes that the # vX inspected <date> comment is still refreshed by a human.

  • Add a scheduled CI run #59: a new .github/workflows/pins.yml runs daily and on demand, never per push:

    • every drevendev/BeautifulRepo@<sha> # vX.Y.Z pin in README/guides must exist as a tag and point at that SHA; it fails when no pins are found (pattern drift);
    • tools/catalog.py and tools/repo_audit.py . --fail-on warning run so freshness and audit drift surface without a push.

    This follows Devostasis's "Released pins resolve" workflow.

Closes #54
Closes #58
Closes #59

Evidence

The pin steps were dry-run locally against the live repository:

  • v0.1.0 → 96e04e6… matches guides/adopting-the-checks.md;
  • a fake v9.9.9 is reported as missing;
  • repo_audit.py . --fail-on warning exits 0.

Verification

  • Catalog validation and generated-view check completed.
  • python -m unittest discover -s tests → 239 OK (skipped 5); link checks OK.
  • The scheduled workflow itself only runs after merge (cron or manual dispatch). I'll trigger it once by hand after merging.

Limitations

Dependabot may open PRs whose dated comments are stale until a human edits them.

🤖 Generated with Claude Code

…shness checks

- quality.yml: workflow_dispatch and a concurrency group that cancels superseded
  pull-request runs but never master runs. Required job names are unchanged.
- .github/dependabot.yml: weekly grouped updates for github-actions only.
- .github/workflows/pins.yml (schedule + manual): every documented
  drevendev/BeautifulRepo@<sha> # vX.Y.Z pin must match its tag, and catalog
  freshness plus repo_audit --fail-on warning run without a push.
- maintenance-workflow.md explains both, including refreshing the inspected
  date on Dependabot PRs by hand.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@drevendev
drevendev merged commit c78aa2e into master Oct 22, 2026
5 checks passed
@drevendev
drevendev deleted the beautifulrepo/ci-hygiene-20261022 branch October 22, 2026 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a scheduled CI run Cancel superseded CI runs with concurrency groups Enable Dependabot updates

1 participant