mirror of
https://github.com/restic/restic.git
synced 2026-10-31 12:35:42 +00:00
Only run golangci-lint for PRs
This commit is contained in:
1 parent
3bf43d7951
commit
1a3f885d3d
1 file changed
+5
@@ -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
|
||||
Reference in new issue
Block a user