Skip to content

docs: record the enforced branch protection settings - #140

Merged
futamura merged 1 commit into
developfrom
docs/develop-branch-protection
Aug 27, 2026
Merged

futamura merged 1 commit into
developfrom
docs/develop-branch-protection

Conversation

@futamura

Copy link
Copy Markdown
Owner

develop had no branch protection at all, so the "no direct push" rule in CLAUDE.md was policy only. It now mirrors main: pull request required, tests-result as the required status check, and force pushes and branch deletion blocked. strict is left off on develop so merging one PR does not invalidate every other open PR.

This documents both branches side by side and notes that enforce_admins is off on both — that is what keeps the post-release back-merge and semantic-release's chore(release) push working.

It also corrects the CI requirement: the required status check is tests-result, which aggregates the tests matrix. lint-check and test-coverage are pnpm scripts run inside that job, not check contexts.

Docs only — semantic-release will not cut a version for this.

`develop` had no branch protection at all, so the "no direct push" rule was
policy only. It now mirrors `main`: pull request required, `tests-result` as
the required status check, and force pushes and branch deletion blocked.
`strict` is left off on `develop` so merging one PR does not invalidate every
other open PR.

Document both branches side by side, and note that `enforce_admins` is off on
both — that is what keeps the post-release back-merge and semantic-release's
`chore(release)` push working.

Also correct the CI requirement: the required status check is `tests-result`,
which aggregates the `tests` matrix; `lint-check` and `test-coverage` are pnpm
scripts run inside that job, not check contexts.
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@futamura
futamura merged commit 71d96e9 into develop Aug 27, 2026
7 checks passed
@futamura
futamura deleted the docs/develop-branch-protection branch August 27, 2026 13:48
@futamura

futamura commented Sep 9, 2026

Copy link
Copy Markdown
Owner Author

🎉 This PR is included in version 4.1.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants