let actions/checkout@v2 select the right reference for push and pull request events (#1042)
This commit is contained in:
parent
4590bd674b
commit
e311cb53ea
2
.github/workflows/lint.yml
vendored
2
.github/workflows/lint.yml
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user