Skip to content

ci: release/stable branches carry main's rules: conventional commits check runs there, releases publish through the tag - #198

Merged
kazo0 merged 1 commit into
mainfrom
ci/conventional-commits-release-glob
Oct 19, 2026
Merged

kazo0 merged 1 commit into
mainfrom
ci/conventional-commits-release-glob

Conversation

@kazo0

@kazo0 kazo0 commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

PR Type

  • Build or CI related changes

What is the current behavior?

The release/stable/* branches now have a repository ruleset with the same rules as main: pull requests with one approval, code-owner review and resolved conversations, the three required status checks, no force pushes, no deletions, and repository admins as the only bypass (main does not enforce its rules on admins either). Two workflows assumed the branches were unprotected:

  • The Conventional Commits workflow triggers on release/*, a single-segment glob that never matches release/stable/<version>, so the "Validate for conventional commits" check the ruleset requires never ran on #196 or #197.
  • The Release workflow pushes its chore(release) commit straight to the release branch, which the ruleset now rejects (the GitHub Actions app cannot be a bypass actor: "must be part of the ruleset source or owner organization").

What is the new behavior?

  • The Conventional Commits trigger is release/**.
  • The Release workflow commits the stamped manifests on top of the branch head, tags that commit, pushes the tag, and creates the release for it. The branch head stays as merged and the next release stamps it again, so no bypass is needed. The tag stays lightweight (git tag without -a), which Codex needs.
  • The README's release section says the same.

The same three commits are on the #197 branch, since the Release workflow runs from the release branch.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Ez3XyFukxbVL4Jn7ePSpu4

…table branches

A single-segment glob never matched release/stable/<version>, so the check
the release branches will require never ran there.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Ez3XyFukxbVL4Jn7ePSpu4
@kazo0 kazo0 changed the title ci(workflows): run the conventional commits check on PRs to release/stable branches ci: release/stable branches carry main's rules: conventional commits check runs there, releases publish through the tag Oct 19, 2026
@kazo0
kazo0 merged commit 6869add into main Oct 19, 2026
6 checks passed
@kazo0
kazo0 deleted the ci/conventional-commits-release-glob branch October 19, 2026 21:28
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