Skip to content

fix gosec false positive lints#444

Closed
wagnerd3 wants to merge 1 commit intomainfrom
fix_gosec
Closed

fix gosec false positive lints#444
wagnerd3 wants to merge 1 commit intomainfrom
fix_gosec

Conversation

@wagnerd3
Copy link
Contributor

The new checks don't seem to be very helpful at all. Especially the case of G703 is rather dumb, as the path is hardcoded above...

@wagnerd3 wagnerd3 requested a review from a team as a code owner February 18, 2026 17:45
@github-actions
Copy link
Contributor

Merging this branch will not change overall coverage

Impacted Packages Coverage Δ 🤖
github.com/sapcc/go-makefile-maker/internal/ghworkflow 0.00% (ø)
github.com/sapcc/go-makefile-maker/internal/reuse 0.00% (ø)

Coverage by file

Changed files (no unit tests)

Changed File Coverage Δ Total Covered Missed 🤖
github.com/sapcc/go-makefile-maker/internal/ghworkflow/workflow_ghcr.go 0.00% (ø) 0 0 0
github.com/sapcc/go-makefile-maker/internal/ghworkflow/workflow_release.go 0.00% (ø) 0 0 0
github.com/sapcc/go-makefile-maker/internal/reuse/reuse.go 0.00% (ø) 0 0 0

Please note that the "Total", "Covered", and "Missed" counts above refer to code statements instead of lines of code. The value in brackets refers to the test coverage of that file in the old version of the code.

@wagnerd3
Copy link
Contributor Author

I found securego/gosec#1500 and it looks like those false-positives lints will be fixed by the next release. I will add a global exception for those rules instead.

@wagnerd3 wagnerd3 closed this Feb 19, 2026
@wagnerd3 wagnerd3 deleted the fix_gosec branch February 19, 2026 08:42
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