Skip to content

ci: publish scheduled main updates only after validate - #56

Merged
autogame-17 merged 1 commit into
mainfrom
chore/verified-main-publish
Sep 4, 2026
Merged

autogame-17 merged 1 commit into
mainfrom
chore/verified-main-publish

Conversation

@autogame-17

Copy link
Copy Markdown
Member

Enables requiring the validate check on main without breaking Wednesday star updates or Monday monitor commits.

Why: GitHub Actions (app 15368) cannot be a ruleset bypass actor on this org, and GITHUB_TOKEN pushes do not start other workflows. Direct git push to main from scheduled jobs would fail once validate is required.

What changed

  • scripts/push-verified-main.sh commits stay on chore/*, run node scripts/validate.js plus a clean generate-readme.js diff, attach a validate check run to that SHA, then fast-forward main.
  • update-stars.yml / monitor.yml use that helper (checks: write).
  • validate.yml also runs on push to chore/** for human-pushed chore branches.

Does not merge itself. After this lands, the Protect main ruleset will add required status check validate.

github-actions[bot] cannot bypass repository rulesets in this org,
and GITHUB_TOKEN pushes do not trigger other workflows. Scheduled
star/monitor jobs now commit on chore/*, run the same validate gate,
attach a validate check run, then fast-forward main.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@autogame-17
autogame-17 merged commit bae1426 into main Sep 4, 2026
3 checks passed
@autogame-17
autogame-17 deleted the chore/verified-main-publish branch September 4, 2026 12:20
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.

1 participant