From 33585a181da8992ae3292ae5aadaa6b374f3ac2f Mon Sep 17 00:00:00 2001 From: Peter Amiri Date: Mon, 30 Mar 2026 19:22:02 -0700 Subject: [PATCH] ci: allow auto-label job to fail gracefully on fork PRs Fork PRs receive a read-only GITHUB_TOKEN, so the labeler action cannot write labels and fails with "Resource not accessible by integration". Add continue-on-error so this cosmetic job doesn't block CI. Co-Authored-By: Claude Opus 4.6 (1M context) --- .github/workflows/pr.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 0fb03f508..7212b4e04 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -18,6 +18,8 @@ jobs: label: name: Auto-Label PR runs-on: ubuntu-latest + # Fork PRs get a read-only GITHUB_TOKEN so labeling will fail — don't block CI + continue-on-error: true permissions: contents: read pull-requests: write