Skip to content

fix(gosec): skip sources without Go files - #940

Merged
academo merged 1 commit into
mainfrom
fix/gosec-skip-no-go-source
Oct 1, 2026
Merged

academo merged 1 commit into
mainfrom
fix/gosec-skip-no-go-source

Conversation

@academo

@academo academo commented Oct 1, 2026

Copy link
Copy Markdown
Collaborator

Skips gosec when the source code contains no Go files. gosec exits 1 without output in that case, which #858 reports as an incomplete scan, so every frontend-only plugin with source code fails validation.

gosec exits 1 without output when the source tree has no Go files, so frontend only plugins were reported as an incomplete scan and failed validation. The analyzer now skips gosec when the source contains no Go files.
@academo academo self-assigned this Oct 1, 2026
@academo
academo marked this pull request as ready for review October 1, 2026 15:04
@academo
academo requested a review from a team as a code owner October 1, 2026 15:04
@academo
academo requested review from andresmgot, oshirohugo, s4kh and tolzhabayev and removed request for a team October 1, 2026 15:04
@academo
academo enabled auto-merge (squash) October 1, 2026 15:05
@academo
academo merged commit 251c890 into main Oct 1, 2026
14 checks passed
@academo
academo deleted the fix/gosec-skip-no-go-source branch October 1, 2026 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 🚀 Shipped

Development

Successfully merging this pull request may close these issues.

2 participants