We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 231a431 commit fdf7ec8Copy full SHA for fdf7ec8
1 file changed
.github/workflows/go-ci.yaml
@@ -40,6 +40,11 @@ on:
40
required: false
41
default: true
42
type: boolean
43
+ govulncheck-fail:
44
+ description: "Fail the workflow if govulncheck finds vulnerabilities"
45
+ required: false
46
+ default: true
47
+ type: boolean
48
49
jobs:
50
tests:
@@ -129,6 +134,7 @@ jobs:
129
134
130
135
- name: Run govulncheck
131
136
if: inputs.run-govulncheck
137
+ continue-on-error: ${{ !inputs.govulncheck-fail }}
132
138
run: |
133
139
go install golang.org/x/vuln/cmd/govulncheck@latest
140
govulncheck -format text ./...
0 commit comments