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

View File

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