From 6062c24fd1c2b32523fd1d34f343bc9d970e17e9 Mon Sep 17 00:00:00 2001 From: Mike Nguyen Date: Sat, 9 May 2026 13:50:20 +0000 Subject: [PATCH] ci: skip lint comment on fork PRs --- .github/workflows/lint.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index a2a7b2e8d36..807d5b6b69a 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -122,7 +122,8 @@ jobs: retention-days: 14 - name: Post / update PR comment - if: github.event_name == 'pull_request' + if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository + continue-on-error: true uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7 with: script: |