forked from TrueCloudLab/restic
Only run golangci-lint for PRs
This commit is contained in:
parent
3bf43d7951
commit
1a3f885d3d
1 changed files with 5 additions and 0 deletions
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`.
|
# 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 a new issue