We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ef90082 + 1c4dba6 commit d34ea2bCopy full SHA for d34ea2b
.github/workflows/validate.yml
@@ -42,9 +42,9 @@ jobs:
42
- uses: golangci/golangci-lint-action@v8
43
with:
44
version: v2.5
45
- # Extra linters, only checking new code from a pull request.
+ # Extra linters, only checking new code from a pull request to main.
46
- name: lint-extra
47
- if: github.event_name == 'pull_request'
+ if: github.event_name == 'pull_request' && github.base_ref == 'main'
48
run: |
49
golangci-lint run --config .golangci-extra.yml --new-from-rev=HEAD~1
50
0 commit comments