File tree Expand file tree Collapse file tree 3 files changed +19
-1
lines changed
Expand file tree Collapse file tree 3 files changed +19
-1
lines changed Original file line number Diff line number Diff line change 3333 with :
3434 version : " latest"
3535 only-new-issues : true
36- args : --timeout=10m --skip-dirs='pkg/providers/logbroker|pkg/providers/yds|pkg/util/queues/lbyds'
36+ args : --timeout=10m
3737 skip-cache : true
3838
3939 - name : Get enabled linters as a table
9191 echo "No packages selected for govulncheck"
9292 exit 1
9393 fi
94+ set +e
9495 govulncheck -format text $PACKAGES
96+ STATUS=$?
97+ set -e
98+ if [ "$STATUS" -eq 0 ]; then
99+ echo "govulncheck: no vulnerabilities found"
100+ exit 0
101+ fi
102+ if [ "$STATUS" -eq 3 ]; then
103+ echo "govulncheck: vulnerabilities found (non-blocking in CI)"
104+ exit 0
105+ fi
106+ echo "govulncheck failed with unexpected exit code: $STATUS"
107+ exit "$STATUS"
95108
96109 Summary :
97110 name : Workflow Summary
Original file line number Diff line number Diff line change @@ -58,6 +58,9 @@ linters:
5858 - examples$
5959 - tests/
6060 - recipe/
61+ - pkg/providers/logbroker/
62+ - pkg/providers/yds/
63+ - pkg/util/queues/lbyds/
6164formatters :
6265 exclusions :
6366 generated : lax
Original file line number Diff line number Diff line change @@ -1426,6 +1426,8 @@ github.com/go-openapi/swag v0.23.0/go.mod h1:esZ8ITTYEsH1V2trKHjAN8Ai7xHb8RV+YSZ
14261426github.com/go-pdf/fpdf v0.5.0 /go.mod h1:HzcnA+A23uwogo0tp9yU+l3V+KXhiESpt1PMayhOh5M =
14271427github.com/go-pdf/fpdf v0.6.0 /go.mod h1:HzcnA+A23uwogo0tp9yU+l3V+KXhiESpt1PMayhOh5M =
14281428github.com/go-sql-driver/mysql v1.3.0 /go.mod h1:zAC/RDZ24gD3HViQzih4MyKcchzm+sOG5ZlKdlhCg5w =
1429+ github.com/go-sql-driver/mysql v1.5.0 h1:ozyZYNQW3x3HtqT1jira07DN2PArx2v7/mN66gGcHOs =
1430+ github.com/go-sql-driver/mysql v1.5.0 /go.mod h1:DCzpHaOWr8IXmIStZouvnhqoel9Qv2LBy8hT2VhHyBg =
14291431github.com/go-sql-driver/mysql v1.8.1 /go.mod h1:wEBSXgmK//2ZFJyE+qWnIsVGmvmEKlqwuVSjsCm7DZg =
14301432github.com/go-sql-driver/mysql v1.9.2 h1:4cNKDYQ1I84SXslGddlsrMhc8k4LeDVj6Ad6WRjiHuU =
14311433github.com/go-sql-driver/mysql v1.9.2 /go.mod h1:qn46aNg1333BRMNU69Lq93t8du/dwxI64Gl8i5p1WMU =
You can’t perform that action at this time.
0 commit comments