Skip to content

docs: describe review rules after turning off code-owner review - #459

Merged
gitfromwildan merged 1 commit into
mainfrom
docs/review-rules-no-codeowners
Nov 5, 2026
Merged

gitfromwildan merged 1 commit into
mainfrom
docs/review-rules-no-codeowners

Conversation

@gitfromwildan

Copy link
Copy Markdown
Member

Why

#457 documented that code-owner review was switched on in branch protection while the repository has no CODEOWNERS file. Adding a CODEOWNERS file 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 by pullfrog[bot], and a bot cannot be a code owner. So require_code_owner_reviews was turned off instead.

Current protection on main, read back from GET /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:

  • one approving review, with stale approvals dismissed on push
  • no code-owner rule and no CODEOWNERS file
  • why the approval usually comes from Pullfrog or another maintainer: an author cannot approve their own PR, and Renovate PRs and the Release PR are opened with a maintainer's token

No other file mentions code owners.

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.
@vercel

vercel Bot commented Nov 5, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
docu Ignored Ignored Nov 5, 2026 3:09am UTC

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ 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 CODEOWNERS file. No other file in the repo mentions code owners.
  • New paragraph on where the approval comes from — this matches the workflows: renovate.yml:45 uses RENOVATE_TOKEN and release.yml:49 opens the Release PR with the same maintainer PAT. It also matches CONTRIBUTING.md L412–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.

Pullfrog  | View workflow run | Using claude-opus-5-5 | 𝕏

@gitfromwildan
gitfromwildan merged commit 3b65488 into main Nov 5, 2026
16 checks passed
@gitfromwildan
gitfromwildan deleted the docs/review-rules-no-codeowners branch November 5, 2026 03:12
@gitfromwildan gitfromwildan mentioned this pull request Nov 5, 2026
12 tasks
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