From f48b84e6a2579b0c9b8cb94cb2f23056e29c543a Mon Sep 17 00:00:00 2001 From: Michael Recachinas Date: Fri, 14 Aug 2026 09:26:45 -0400 Subject: [PATCH] Fix PRT writer permissions for fork PRs Restore label and comment synchronization after the PRT migration by granting the downstream writer workflows the pull request permission required for fork-originated PRs. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 512eb347-ec89-4250-8bf1-87048974b01d --- .github/workflows/contributor-check-writer.yml | 2 +- .github/workflows/external-plugin-pr-quality-gates-writer.yml | 2 +- .github/workflows/label-pr-intent-writer.yml | 2 +- .github/workflows/pr-duplicate-check-writer.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/contributor-check-writer.yml b/.github/workflows/contributor-check-writer.yml index 79471436..6f36de02 100644 --- a/.github/workflows/contributor-check-writer.yml +++ b/.github/workflows/contributor-check-writer.yml @@ -8,7 +8,7 @@ on: permissions: actions: read issues: write - pull-requests: read + pull-requests: write concurrency: group: ccw-${{ github.event.workflow_run.head_repository.id || 'unknown-repo' }}-${{ github.event.workflow_run.head_branch || 'unknown-branch' }} diff --git a/.github/workflows/external-plugin-pr-quality-gates-writer.yml b/.github/workflows/external-plugin-pr-quality-gates-writer.yml index d4d20b88..8e5017d1 100644 --- a/.github/workflows/external-plugin-pr-quality-gates-writer.yml +++ b/.github/workflows/external-plugin-pr-quality-gates-writer.yml @@ -9,7 +9,7 @@ permissions: actions: read contents: read issues: write - pull-requests: read + pull-requests: write concurrency: group: epqw-${{ github.event.workflow_run.head_repository.id || 'unknown-repo' }}-${{ github.event.workflow_run.head_branch || 'unknown-branch' }} diff --git a/.github/workflows/label-pr-intent-writer.yml b/.github/workflows/label-pr-intent-writer.yml index f1cf43f7..f4c77341 100644 --- a/.github/workflows/label-pr-intent-writer.yml +++ b/.github/workflows/label-pr-intent-writer.yml @@ -8,7 +8,7 @@ on: permissions: actions: read issues: write - pull-requests: read + pull-requests: write concurrency: group: lpiw-${{ github.event.workflow_run.head_repository.id || 'unknown-repo' }}-${{ github.event.workflow_run.head_branch || 'unknown-branch' }} diff --git a/.github/workflows/pr-duplicate-check-writer.yml b/.github/workflows/pr-duplicate-check-writer.yml index 5ce9ed3e..55d6c177 100644 --- a/.github/workflows/pr-duplicate-check-writer.yml +++ b/.github/workflows/pr-duplicate-check-writer.yml @@ -8,7 +8,7 @@ on: permissions: actions: read issues: write - pull-requests: read + pull-requests: write concurrency: group: pdcw-${{ github.event.workflow_run.head_repository.id || 'unknown-repo' }}-${{ github.event.workflow_run.head_branch || 'unknown-branch' }}