mirror of https://github.com/restic/restic.git
Only run golangci-lint for PRs
This commit is contained in:
parent
3bf43d7951
commit
1a3f885d3d
|
@ -241,3 +241,8 @@ jobs:
|
||||||
# Optional: show only new issues if it's a pull request. The default value is `false`.
|
# Optional: show only new issues if it's a pull request. The default value is `false`.
|
||||||
only-new-issues: true
|
only-new-issues: true
|
||||||
args: --verbose --timeout 5m --enable-all --disable wsl
|
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…
Reference in New Issue