docs(integration): document the review-gate tradeoff for path-α (required_approvals vs zero-touch cuts) #112
Labels
No labels
bump
major
bump
minor
bump
patch
kind/bug
kind/chore
kind/docs
kind/feature
priority/critical
priority/high
priority/low
priority/medium
size/L
size/M
size/S
size/XL
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
frankenbit/release-toolkit#112
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why now
The 2026-06-26 path-α activation surfaced an architectural constraint not previously documented: Forgejo's branch-protection
required_approvals > 0blocks the manifest follow-up PR's auto-merge, even whenrelease-botis onpush_whitelist_usernames. Empirical findings from the same session:merge_whitelist_usernamesis the wrong tool — it restricts WHO can merge when general merges are disabled; it doesn't bypassrequired_approvals. Empirical test: enabling it locked admin out of merging.enable_approvals_whitelist+approvals_whitelist_usernamemakes specific reviewers' approvals count as official, but doesn't allow the PR author to self-approve."approve your own pull is not allowed"HTTP 422) — not a per-repo setting. Empirical test confirmed.So in stock Forgejo, the single-bot path-α design + a Forgejo-level review-gate are architecturally incompatible: the bot can't auto-merge its own PR if approval is required, and no native setting changes this.
The tradeoff each consumer should explicitly decide
required_approvals01+Other paths exist but are not recommended as defaults:
release-botopens + merges;release-reviewer(separate bot) approves. Adds a second long-lived bot token. Operator surfaced this as "too heavy machinery" 2026-06-26.Scope of this issue
Add a new section to
docs/integration.md(probably under "Branch protection compatibility" alongside the existing α/β/γ token-path documentation):## Branch protection: review-gate tradeoff(proposed)required_approvalssettingrequired_approvals > 0, document the PATCH command to transition to (2) cleanlyWhat this PR does NOT do
Refs
required_approvals: 1release-bot referenced this issue2026-06-26 15:10:06 +02:00