diff --git a/.github/workflows/pr-check.yml b/.github/workflows/pr-check.yml index fd96c22..7c2e9ce 100644 --- a/.github/workflows/pr-check.yml +++ b/.github/workflows/pr-check.yml @@ -76,7 +76,7 @@ jobs: node scripts/build-index.mjs --check $extra --report pr-report.md - name: Post gate report comment on PR - if: always() && hashFiles('pr-report.md') != '' + if: always() && hashFiles('pr-report.md') != '' && github.event.pull_request.head.repo.full_name == github.repository uses: actions/github-script@v7 with: script: |