Update lint.yml (#2211)

Co-authored-by: Peer Richelsen <peeroke@gmail.com>
pull/2237/head^2
Omar López 2022-03-22 07:52:47 -07:00 committed by GitHub
parent 3c967ab280
commit 91f13122eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 3 deletions

View File

@ -1,6 +1,6 @@
name: Lint
on:
pull_request:
pull_request_target:
branches:
- main
jobs:
@ -8,9 +8,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- 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