[GH-ISSUE #203] [Issue] Restore automatic staging approval for organization members #104

Closed
opened 2026-10-20 17:24:25 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @SpicyMarinara on GitHub (Aug 2, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/203

Originally assigned to: @SpicyMarinara on GitHub.

Problem

The native staging Code Owner review ruleset added after #201 does not mark Pasta-Devs organization members' pull requests as approved. It only offers members a merge-time ruleset bypass, so member PRs remain review-required and developers must bypass protections manually.

Expected behavior

  • Pull requests to staging from active Pasta-Devs organization Members or Owners receive a successful Owner approval for outside contributors status automatically.
  • Pull requests from anyone outside the organization require a current approval from SpicyMarinara.
  • The membership lookup fails closed when the configured organization-members token is missing or invalid.
  • Review refreshes are evaluated by trusted base/default-branch code, not code from an untrusted pull request.
  • Existing main restrictions remain unchanged: only SpicyMarinara may promote staging.

Reproduction

Open a PR to staging as an active Pasta-Devs member. GitHub reports the native Code Owner review requirement as unmet until the author explicitly bypasses the staging review ruleset.

Originally created by @SpicyMarinara on GitHub (Aug 2, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/203 Originally assigned to: @SpicyMarinara on GitHub. ## Problem The native staging Code Owner review ruleset added after #201 does not mark Pasta-Devs organization members' pull requests as approved. It only offers members a merge-time ruleset bypass, so member PRs remain review-required and developers must bypass protections manually. ## Expected behavior - Pull requests to `staging` from active Pasta-Devs organization Members or Owners receive a successful `Owner approval for outside contributors` status automatically. - Pull requests from anyone outside the organization require a current approval from `SpicyMarinara`. - The membership lookup fails closed when the configured organization-members token is missing or invalid. - Review refreshes are evaluated by trusted base/default-branch code, not code from an untrusted pull request. - Existing `main` restrictions remain unchanged: only `SpicyMarinara` may promote `staging`. ## Reproduction Open a PR to `staging` as an active Pasta-Devs member. GitHub reports the native Code Owner review requirement as unmet until the author explicitly bypasses the staging review ruleset.
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-Agents#104
No description provided.