How can I restrict pull request diffs to only be linted? #943
Answered
by
ldez
hiroyuki-fujii-td
asked this question in
Q&A
-
By default, when I run golangci-lint on Github Actions, golangci-lint applies all linters to all repository files. .golangci.yaml
golangci-lint.yaml
best regards. |
Beta Was this translation helpful? Give feedback.
Answered by
ldez
May 4, 2024
Replies: 1 comment
-
You should use the https://github.com/golangci/golangci-lint-action?tab=readme-ov-file#only-new-issues |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ldez
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You should use the
only-new-issues
option.https://github.com/golangci/golangci-lint-action?tab=readme-ov-file#only-new-issues