Allows E2E to run from forks (#2423)

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
Omar López 2022-04-10 09:19:06 -07:00 committed by GitHub
parent 5e3da4d178
commit b6da0f0553
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,6 @@
name: E2E test name: E2E test
on: on:
pull_request: pull_request_target: # So we can test on forks
branches: branches:
- main - main
paths-ignore: paths-ignore:
@ -56,7 +56,8 @@ jobs:
- name: Checkout repo - name: Checkout repo
uses: actions/checkout@v2 uses: actions/checkout@v2
with: with:
fetch-depth: 0 ref: ${{ github.event.pull_request.head.sha }} # So we can test on forks
fetch-depth: 2
- name: Use Node ${{ matrix.node }} - name: Use Node ${{ matrix.node }}
uses: actions/setup-node@v2 uses: actions/setup-node@v2