Attempt to fix linting for external contributors (#2303)

pull/2293/head^2
Omar López 2022-03-28 12:21:31 -07:00 committed by GitHub
parent cc5537dd1f
commit 2d2df2d4db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,6 @@
name: Lint
on:
pull_request:
pull_request_target:
branches:
- main
jobs:
@ -15,7 +15,8 @@ jobs:
- name: Checkout repo
uses: actions/checkout@v2
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 2
- name: Use Node.js 14.x
uses: actions/setup-node@v2