Skip to content

Commit 93356e9

Browse files
authored
chore: fix gosec on non-touched code (#4868)
* fix(ci): only fail lint on issues in changed code Add only-new-issues: true to golangci-lint action so pre-existing gosec warnings in untouched files don't fail PR checks. New code is still fully checked by all rules including G101, G115, G117, G704, and G705.
1 parent aef01b7 commit 93356e9

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ jobs:
6363
with:
6464
args: --timeout 3m --verbose
6565
version: latest
66+
only-new-issues: true
6667

6768
start:
6869
name: Start

0 commit comments

Comments
 (0)