This commit is contained in:
zomars 2022-03-25 17:11:53 -07:00
parent a76ab4da92
commit a735f47f23
2 changed files with 6 additions and 4 deletions

View File

@ -1,6 +1,6 @@
name: E2E test
on:
pull_request:
pull_request_target:
branches:
- main
paths-ignore:
@ -56,7 +56,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 ${{ matrix.node }}
uses: actions/setup-node@v2

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