From aba5fcc643801b42e29396652613823edfaf50f7 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 19 Aug 2026 19:40:43 +0000 Subject: [PATCH 1/3] Initial plan From 1e5d25466de2a2b9e23c5928707c0424a6ba8c09 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 19 Aug 2026 19:43:20 +0000 Subject: [PATCH 2/3] Fix Pages preview PR comment permissions Co-authored-by: danmarshall <11507384+danmarshall@users.noreply.github.com> --- .github/workflows/pages-preview.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pages-preview.yml b/.github/workflows/pages-preview.yml index a5455bef..a46ace49 100644 --- a/.github/workflows/pages-preview.yml +++ b/.github/workflows/pages-preview.yml @@ -13,7 +13,7 @@ jobs: pages: write id-token: write contents: read - pull-requests: write + issues: write environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }} @@ -28,7 +28,7 @@ jobs: id: deployment if: github.event_name == 'push' - name: Comment PR with preview artifact link - if: github.event_name == 'pull_request' + if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository uses: actions/github-script@v7 with: script: | From 2e803f2dd7d569ab2bed92b4ebd30dd3c05e5204 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 19 Aug 2026 20:17:14 +0000 Subject: [PATCH 3/3] Prevent Pages PR Preview job failure when PR comment lacks permission Co-authored-by: danmarshall <11507384+danmarshall@users.noreply.github.com> --- .github/workflows/pages-preview.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/pages-preview.yml b/.github/workflows/pages-preview.yml index a46ace49..13ca040c 100644 --- a/.github/workflows/pages-preview.yml +++ b/.github/workflows/pages-preview.yml @@ -29,6 +29,7 @@ jobs: if: github.event_name == 'push' - name: Comment PR with preview artifact link if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository + continue-on-error: true uses: actions/github-script@v7 with: script: |