Skip to content
This repository was archived by the owner on Jun 2, 2023. It is now read-only.

Commit 91c73b8

Browse files
committed
buildSecrets: extra checks for golangci
1 parent ae26619 commit 91c73b8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pkg/worker/analyze/processors/escape.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,11 @@ func buildSecrets(vars ...string) map[string]string {
6161
}
6262

6363
v := parts[1]
64+
65+
if strings.EqualFold(v, "golangci") || strings.EqualFold(v, "golangci-lint") {
66+
continue // just extra check because these are critical words
67+
}
68+
6469
if len(v) >= minSecretValueLen {
6570
ret[v] = hidden
6671
}

0 commit comments

Comments
 (0)