[GH-ISSUE #192] [CI]: Forked member PRs become blocked after review events #99

Closed
opened 2026-10-20 17:24:21 +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/192

Originally assigned to: @SpicyMarinara on GitHub.

Summary

Active Pasta-Devs members who open a pull request from a personal fork are correctly classified on pull_request_target, but the later pull_request_review run loses repository secrets and write permissions. The newer failed check results block an otherwise valid staging PR.

Reproduction

  1. Open a PR from a personal fork into staging as an active Pasta-Devs member.
  2. Let the initial pull_request_target triage run complete successfully.
  3. Submit or receive a review, such as CodeRabbit.
  4. Observe Owner approval for outside contributors fail because PASTA_DEVS_MEMBERS_TOKEN is unavailable, and Auto-label fail with 403 Resource not accessible by integration.

Observed on Pasta-Devs/Marinara-Agents#191 in Actions run 30737778279.

Expected behavior

  • MEMBER and OWNER authors remain classified as internal on review events without needing a secret.
  • Mutation-only label work does not run under the read-only fork review token.
  • Outside contributors still require a current-head approval from SpicyMarinara.

Scope

Patch .github/workflows/pull-request-triage.yml only and add focused regression coverage for forked member review events if the repository has a suitable workflow test lane.

Originally created by @SpicyMarinara on GitHub (Aug 2, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/192 Originally assigned to: @SpicyMarinara on GitHub. ## Summary Active Pasta-Devs members who open a pull request from a personal fork are correctly classified on `pull_request_target`, but the later `pull_request_review` run loses repository secrets and write permissions. The newer failed check results block an otherwise valid staging PR. ## Reproduction 1. Open a PR from a personal fork into `staging` as an active Pasta-Devs member. 2. Let the initial `pull_request_target` triage run complete successfully. 3. Submit or receive a review, such as CodeRabbit. 4. Observe `Owner approval for outside contributors` fail because `PASTA_DEVS_MEMBERS_TOKEN` is unavailable, and `Auto-label` fail with `403 Resource not accessible by integration`. Observed on Pasta-Devs/Marinara-Agents#191 in Actions run 30737778279. ## Expected behavior - `MEMBER` and `OWNER` authors remain classified as internal on review events without needing a secret. - Mutation-only label work does not run under the read-only fork review token. - Outside contributors still require a current-head approval from `SpicyMarinara`. ## Scope Patch `.github/workflows/pull-request-triage.yml` only and add focused regression coverage for forked member review events if the repository has a suitable workflow test lane.
bsakaguchi 2026-10-20 17:24:21 +07:00
  • closed this issue
  • added the
    bug
    label
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#99
No description provided.