[GH-ISSUE #4267] [Issue]: Approval gate rejects Pasta-Devs members and owners #2309

Closed
opened 2026-10-21 05:47:11 +07:00 by bsakaguchi · 0 comments
Owner

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 Member or Owner should 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 from SpicyMarinara for the current head commit.

Actual behavior

The gate rejects internal contributors when GitHub does not report author_association as MEMBER or OWNER. Promansis is an active Pasta-Devs organization Member with repository write access, but the gate failed on PR #4265. The same gate has also failed for SpicyMarinara.

Steps to reproduce

  1. Open or update a pull request targeting staging as a user with an active Pasta-Devs organization role of Member or Owner.
  2. Observe the Owner approval for outside contributors job.
  3. The job may fail and request approval from SpicyMarinara despite the author being an active organization member or owner.

Environment

  • Marinara Engine version: staging
  • Install type: GitHub Actions
  • OS + version: ubuntu-latest runner
  • Browser or app shell: Not applicable

Logs, 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 Member or Owner.

Template check

  • I DID NOT read this template and provide the requested details.
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 `Member` or `Owner` should 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 from `SpicyMarinara` for the current head commit. ## Actual behavior The gate rejects internal contributors when GitHub does not report `author_association` as `MEMBER` or `OWNER`. Promansis is an active Pasta-Devs organization `Member` with repository write access, but the gate failed on PR #4265. The same gate has also failed for `SpicyMarinara`. ## Steps to reproduce 1. Open or update a pull request targeting `staging` as a user with an active Pasta-Devs organization role of `Member` or `Owner`. 2. Observe the `Owner approval for outside contributors` job. 3. The job may fail and request approval from `SpicyMarinara` despite the author being an active organization member or owner. ## Environment - Marinara Engine version: `staging` - Install type: GitHub Actions - OS + version: `ubuntu-latest` runner - Browser or app shell: Not applicable ## Logs, 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 `Member` or `Owner`. ## Template check - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 05:47:11 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#2309
No description provided.