[PR #193] [MERGED] fix: skip auto-label writes on review events #846

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/193
Author: @SpicyMarinara
Created: 8/2/2026
Status: ✅ Merged
Merged: 8/2/2026
Merged by: @SpicyMarinara

Base: staging ← Head: agent/fork-member-triage-fix


📝 Commits (1)

  • b0822eb fix review-event auto-label permissions

📊 Changes

1 file changed (+1 additions, -0 deletions)

View changed files

📝 .github/workflows/pull-request-triage.yml (+1 -0)

📄 Description

Linked issue

Closes #192

Why this change

  • Review events on personal-fork pull requests receive a read-only workflow token. The auto-label job attempted repository writes anyway, failed with Resource not accessible by integration, and could block an otherwise mergeable member PR.

What changed

  • Run auto-label writes only on pull_request_target, where the workflow has the required repository permissions.
  • Preserve the review-event membership classification merged with #191.

Package and security impact

  • Affected package IDs: None
  • Engine compatibility impact: None
  • New or changed permissions/entrypoints: No new permissions; fork review events no longer attempt writes
  • Restart, storage, update, or uninstall impact: None

Validation

  • node scripts/test-catalog-lanes.mjs passes locally
  • node scripts/validate-catalog.mjs passes locally
  • git diff --check passes locally
  • Reviewed the workflow's pull-request-target and review-event paths
  • Read and followed CONTRIBUTING.md

Manual verification notes

  • Verify a fork PR review event skips the auto-label job without a permissions failure.
  • Verify auto-labeling still runs on pull-request target events.

Documentation impact

  • No documentation changes needed
  • Updated this README catalog and package guidance
  • Updated linked Marinara Engine documentation

UI evidence (if applicable)

  • Not applicable; workflow-only change.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Agents/pull/193 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 8/2/2026 **Status:** ✅ Merged **Merged:** 8/2/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `agent/fork-member-triage-fix` --- ### 📝 Commits (1) - [`b0822eb`](https://github.com/Pasta-Devs/Marinara-Agents/commit/b0822ebcbe9356fc0a413d991624f31f3222ed7f) fix review-event auto-label permissions ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/pull-request-triage.yml` (+1 -0) </details> ### 📄 Description ## Linked issue Closes #192 ## Why this change - Review events on personal-fork pull requests receive a read-only workflow token. The auto-label job attempted repository writes anyway, failed with `Resource not accessible by integration`, and could block an otherwise mergeable member PR. ## What changed - Run auto-label writes only on `pull_request_target`, where the workflow has the required repository permissions. - Preserve the review-event membership classification merged with #191. ## Package and security impact - Affected package IDs: None - Engine compatibility impact: None - New or changed permissions/entrypoints: No new permissions; fork review events no longer attempt writes - Restart, storage, update, or uninstall impact: None ## Validation - [ ] `node scripts/test-catalog-lanes.mjs` passes locally - [ ] `node scripts/validate-catalog.mjs` passes locally - [ ] `git diff --check` passes locally - [ ] Reviewed the workflow's pull-request-target and review-event paths - [ ] Read and followed `CONTRIBUTING.md` ### Manual verification notes - Verify a fork PR review event skips the auto-label job without a permissions failure. - Verify auto-labeling still runs on pull-request target events. ## Documentation impact - [ ] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation ## UI evidence (if applicable) - Not applicable; workflow-only change. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-20 17:31:34 +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-Agents#846
No description provided.