Verify law 11: the PR's own author cannot approve it #24
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Meta/Campaign
Meta/Epic
Meta/Session
Priority/Critical
Priority/High
Priority/Low
Priority/Medium
Reviewed/Confirmed
Reviewed/Curated
Reviewed/Duplicate
Reviewed/Invalid
Reviewed/Won't Fix
Scope/Campaign
Status/Abandoned
Status/Blocked
Status/Conflicted
Status/In Progress
Status/In Review
Status/Need Grooming
Status/Need More Info
Status/Ready
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Ting/Jostoph#24
Loading…
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?
In scope
A rule in
src/policy.rscomparing the reviewer identity on an approval event against the PR author. A self-approval does not count toward the merge gate: theapprovedrelation must exclude it, so the declared merge never fires on the author's own approval.Out of scope
Boundary
Both identities are in the webhook payload (
/pull_request/user/loginand the review's sender). No new API calls. No new parameters expected innix/policy.nix— this is pure judgment.Acceptance
approvedfact and no declared merge; the answer explains that self-approval is theater (law 11).