We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1cd642b commit 9527c38Copy full SHA for 9527c38
1 file changed
.github/workflows/golangci-lint.yml
@@ -26,8 +26,10 @@ jobs:
26
go-version-file: go.mod
27
28
- name: Run golangci-lint
29
+ env:
30
+ ALLOW_FAILURE: ${{ contains(join(github.event.pull_request.labels.*.name, ' '), 'allow-lint-issues') }}
31
uses: smartcontractkit/.github/actions/ci-lint-go@bd2ca3d8fa2dc89f98b49b297e9b72c2e3e68cdc # v3.1.0
32
with:
33
golangci-lint-version: v2.6.1
34
only-new-issues: true
- working-directory: pkg
35
+ go-directory: ${{ env.ALLOW_FAILURE == 'true' && 'tools' || 'pkg' }}
0 commit comments