From 2a65929b5ec8bad0c59d15d33bacc21833eff622 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 24 Mar 2026 18:49:57 +0000 Subject: [PATCH 1/2] Initial plan From 731ff1cd6207798f5d5d05bda17245e3a3f2f710 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 24 Mar 2026 18:51:10 +0000 Subject: [PATCH 2/2] fix: use conditional continue-on-error for fork PRs only in comment step Co-authored-by: danmoseley <6385855+danmoseley@users.noreply.github.com> Agent-Logs-Url: https://github.com/dotnet/arcade-skills/sessions/0fa79117-2e79-4a13-8186-a57551c3ecb8 --- .github/workflows/pr-validation.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr-validation.yml b/.github/workflows/pr-validation.yml index 0dd1192..af85acb 100644 --- a/.github/workflows/pr-validation.yml +++ b/.github/workflows/pr-validation.yml @@ -502,7 +502,7 @@ jobs: - name: Post or update PR comment if: always() && github.event_name == 'pull_request' && steps.validate.outputs.has_comment == 'true' - continue-on-error: true # GITHUB_TOKEN is read-only for fork PRs (dotnet/arcade-skills#13) + continue-on-error: ${{ github.event.pull_request.head.repo.fork == true }} # GITHUB_TOKEN is read-only for fork PRs (dotnet/arcade-skills#13) env: GH_TOKEN: ${{ github.token }} shell: bash