let actions/checkout@v2 select the right reference for push and pull request events (#1042)

This commit is contained in:
leuc 2021-05-22 19:36:21 +02:00 committed by GitHub
parent 4590bd674b
commit e311cb53ea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,8 +11,6 @@ jobs:
steps:
- uses: actions/checkout@v2
with:
# Make sure the actual branch is checked out when running on pull requests
ref: ${{ github.head_ref }}
fetch-depth: 0
- name: golangci-lint