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

This commit is contained in:
leuc
2021-05-22 10:36:21 -07:00
committed by GitHub
parent 4590bd674b
commit e311cb53ea
-2
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