Skip to content

fix: suppress gosec G101 false positive on exec-credential format - #40

Merged
Andre虂 L. (WipeAir) merged 1 commit into
mainfrom
claude/fix-main-lint-build
Jul 20, 2026
Merged

fix: suppress gosec G101 false positive on exec-credential format#40
Andre虂 L. (WipeAir) merged 1 commit into
mainfrom
claude/fix-main-lint-build

Conversation

@WipeAir

Copy link
Copy Markdown
Member

The lint job on main (golangci-lint v2.5.0) fails on internal/config/config.go with G101 "Potential hardcoded credentials", a false positive triggered by the word credential inside the enum value "exec-credential" (the k8s ExecCredential output-format name added in #39). This adds an inline //nolint:gosec directive, matching the convention already used twice in the same file for identical G101 false positives. Verified locally: golangci-lint run ./... reports 0 issues and go build ./... stays green.

@WipeAir
Andre虂 L. (WipeAir) merged commit a12a0c5 into main Jul 20, 2026
10 checks passed
@WipeAir
Andre虂 L. (WipeAir) deleted the claude/fix-main-lint-build branch July 20, 2026 22:11
@abi-jarvis abi-jarvis Bot mentioned this pull request Jul 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant