We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9d3b8c5 commit 9669aacCopy full SHA for 9669aac
.github/workflows/go.yml
@@ -43,11 +43,12 @@ jobs:
43
- run: git diff --exit-code
44
45
- name: goheader
46
+ if: ${{ github.event_name == 'pull_request' }}
47
# The goheader linter is only enabled in the CI so that it runs only on modified or new files
48
# (see only-new-issues: true). It is disabled in .golangci.yml because
49
# golangci-lint running locally is not aware of new/modified files compared to the base
50
# commit of a pull request, and we want to avoid reporting invalid goheader errors.
- uses: golangci/golangci-lint-action@ec5d18412c0aeab7936cb16880d708ba2a64e1ae # v6.2.0 since v6.3.1 does not handle `only-new-issues` correctly
51
+ uses: golangci/golangci-lint-action@v6
52
with:
53
version: v1.60
54
only-new-issues: true
0 commit comments