Skip eslint workflow for internal pull requests

Refs:
- https://github.community/t/duplicate-checks-on-push-and-pull-request-simultaneous-event/18012/4
- 612732d587
This commit is contained in:
Alex Corn 2021-07-29 05:03:07 -04:00
parent 89d058fc99
commit 605fb6268f
No known key found for this signature in database
GPG Key ID: E51989A3E7A27FDF

View File

@ -6,6 +6,9 @@ jobs:
lint:
runs-on: ubuntu-latest
# Run for external PRs, but not on our own internal PRs as they'll be run by the push to the branch.
if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != 'DoctorMcKay/node-steamcommunity'
strategy:
matrix:
node-version: [10.x]