gh-actions: static-tests: remove ref from checkout
That parameter was solely needed for the commit checks that are now moved to the `check-pr` workflow. The only other test using git is the whitespace check and that works just fine on the merge commit.
This commit is contained in:
parent
44b48e6c2d
commit
e5f5f3c0b3
4
.github/workflows/static-test.yml
vendored
4
.github/workflows/static-test.yml
vendored
@ -18,10 +18,6 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
# Use the SHA of the PR branch as-is, not the PR branch merged
|
|
||||||
# in master (default behavior in GH actions)
|
|
||||||
# See https://github.com/actions/checkout#checkout-pull-request-head-commit-instead-of-merge-commit
|
|
||||||
ref: ${{ github.event.pull_request.head.sha }}
|
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- name: Setup git
|
- name: Setup git
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user