Skip eslint annotate on fork PRs.

This commit is contained in:
Sam Seay 2023-08-23 09:09:09 +08:00
parent f497e18141
commit 1fa3a880f3
No known key found for this signature in database
GPG Key ID: 2223711A9151668A
1 changed files with 1 additions and 1 deletions

View File

@ -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'