From 1fa3a880f3d0be2470f2562230ae67bb15192ad2 Mon Sep 17 00:00:00 2001 From: Sam Seay Date: Wed, 23 Aug 2023 09:09:09 +0800 Subject: [PATCH] Skip eslint annotate on fork PRs. --- .github/workflows/pr-lint-js.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr-lint-js.yml b/.github/workflows/pr-lint-js.yml index a967043c586..452655e54e2 100644 --- a/.github/workflows/pr-lint-js.yml +++ b/.github/workflows/pr-lint-js.yml @@ -48,7 +48,7 @@ jobs: - name: Annotate Code Linting Results uses: ataylorme/eslint-annotate-action@a1bf7cb320a18aa53cb848a267ce9b7417221526 - + if: github.event.pull_request.head.repo.fork != true with: repo-token: '${{ secrets.GITHUB_TOKEN }}' report-json: 'combined_eslint_report.json'