Repository navigation
docs: describe review rules after turning off code-owner review - #459
Merged
Merged
Conversation
Branch protection on main no longer requires code-owner review (require_code_owner_reviews is now false), and the repository has no CODEOWNERS file. CONTRIBUTING now states the remaining rule: one approving review, with stale approvals dismissed on push. It also explains that the approval usually comes from Pullfrog or another maintainer, because Renovate PRs and the Release PR are opened with a maintainer's token and an author cannot approve their own PR.
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
Contributor
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes
Reviewed the single docs commit that updates the "In CI" section of CONTRIBUTING.md to match main's branch protection now that require_code_owner_reviews is turned off. Mode: memory-guided (doc compliance) — the text agrees with the workflows and the rest of CONTRIBUTING.md.
- Code-owner sentence replaced — the old line said code-owner review was on but did nothing. The new line says plainly that there is no code-owner rule and no
CODEOWNERSfile. No other file in the repo mentions code owners. - New paragraph on where the approval comes from — this matches the workflows:
renovate.yml:45usesRENOVATE_TOKENandrelease.yml:49opens the Release PR with the same maintainer PAT. It also matchesCONTRIBUTING.mdL412–420 and L499–500. - CodeQL/Pullfrog sentence — reworded to "Neither CodeQL nor Pullfrog is a required check", so it still makes sense after the paragraph split.
I couldn't read the branch-protection JSON in the PR description for myself (the review token gets a 403 on branches/main/protection). The prose matches what that JSON shows.
claude-opus-5-5 | 𝕏
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.

Why
#457 documented that code-owner review was switched on in branch protection while the repository has no
CODEOWNERSfile. Adding aCODEOWNERSfile would have made Pullfrog's approval insufficient. Every recent PR (#449–#457) was authored by the maintainer account (Renovate and the Release PR use its token) and approved only bypullfrog[bot], and a bot cannot be a code owner. Sorequire_code_owner_reviewswas turned off instead.Current protection on
main, read back fromGET /repos/DocuBook/docubook/branches/main/protection:{"checks":["ci (lint)","ci (typecheck)","ci (build)","ci (test)","commitlint"],"strict":true, "reviews":{"count":1,"dismiss_stale":true,"codeowners":false},"enforce_admins":false}Changes
CONTRIBUTING.md(In CI): replaces the "code-owner review is switched on but adds no reviewer" sentence with the rule that actually applies:CODEOWNERSfileNo other file mentions code owners.