mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #4267] [Issue]: Approval gate rejects Pasta-Devs members and owners #2309
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#2309
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?
Originally created by @SpicyMarinara on GitHub (Jul 29, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4267
Originally assigned to: @SpicyMarinara on GitHub.
Summary
The staging owner-approval gate relies on
pull_request.author_association, which can reject active Pasta-Devs organization members and owners as outside contributors.Expected behavior
Every active user whose Pasta-Devs organization role is
MemberorOwnershould pass the owner-approval gate automatically. Every author outside the organization, including outside collaborators with repository access, first-time contributors, and other external contributors, should require an approving review fromSpicyMarinarafor the current head commit.Actual behavior
The gate rejects internal contributors when GitHub does not report
author_associationasMEMBERorOWNER. Promansis is an active Pasta-Devs organizationMemberwith repository write access, but the gate failed on PR #4265. The same gate has also failed forSpicyMarinara.Steps to reproduce
stagingas a user with an active Pasta-Devs organization role ofMemberorOwner.Owner approval for outside contributorsjob.SpicyMarinaradespite the author being an active organization member or owner.Environment
stagingubuntu-latestrunnerLogs, screenshots, or video
Failing run: https://github.com/Pasta-Devs/Marinara-Engine/actions/runs/30468718292/job/90633114143?pr=4265
Additional context
The gate must not use repository write permission as the internal-contributor signal because outside collaborators must continue to require owner approval. The authoritative policy is active Pasta-Devs organization membership with role
MemberorOwner.Template check