chore: let actions/checkout determine the branch by itself (#6821)

Hopefully this ensures pull requests coming from forks still get CI checks.

Issue: #6818
This commit is contained in:
Mathias Bynens 2021-02-05 09:04:46 +01:00 committed by GitHub
parent 21daba9e28
commit d799e30090
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,7 +22,6 @@ jobs:
uses: actions/checkout@v2
with:
fetch-depth: 2
ref: ${{ github.head_ref }}
- name: Set up Node.js
uses: actions/setup-node@v1
@ -87,7 +86,6 @@ jobs:
uses: actions/checkout@v2
with:
fetch-depth: 2
ref: ${{ github.head_ref }}
- name: Set up Node.js
uses: actions/setup-node@v1
@ -122,7 +120,6 @@ jobs:
uses: actions/checkout@v2
with:
fetch-depth: 2
ref: ${{ github.head_ref }}
- name: Set up Node.js
uses: actions/setup-node@v1