Skip to content

Commit 63ffb11

Browse files
committed
Use || echo pattern instead of continue-on-error for govulncheck
- Removes continue-on-error to preserve error visibility in GitHub UI - Uses || echo pattern to continue workflow execution - Maintains red status when vulnerabilities are found for better visibility
1 parent 59be8b1 commit 63ffb11

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,9 @@ jobs:
6767

6868

6969
- name: Run govulncheck
70-
continue-on-error: true
7170
run: |
7271
go install golang.org/x/vuln/cmd/govulncheck@d1f380186385b4f64e00313f31743df8e4b89a77 # v1.1.4
73-
govulncheck ./...
72+
govulncheck ./... || echo "govulncheck completed with findings"
7473
7574
- name: Run Go security checker (gosec)
7675
run: |

0 commit comments

Comments
 (0)