mirror of
https://github.com/restic/restic.git
synced 2025-04-27 23:20:58 +00:00
Only run golangci-lint for PRs
This commit is contained in:
parent
3bf43d7951
commit
1a3f885d3d
5
.github/workflows/tests.yml
vendored
5
.github/workflows/tests.yml
vendored
@ -241,3 +241,8 @@ jobs:
|
||||
# Optional: show only new issues if it's a pull request. The default value is `false`.
|
||||
only-new-issues: true
|
||||
args: --verbose --timeout 5m --enable-all --disable wsl
|
||||
|
||||
# only run golangci-lint for pull requests, otherwise ALL hints get
|
||||
# reported. We need to slowly address all issues until we can enable
|
||||
# linting the master branch :)
|
||||
if: github.event.pull_request.head.repo.full_name != github.repository
|
||||
|
Loading…
x
Reference in New Issue
Block a user