Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a dedicated GitHub Actions workflow to run Go’s govulncheck in CI, so the project’s Go module dependencies are continuously scanned for known vulnerabilities alongside existing build/lint/test workflows.
Changes:
- Introduces a
govulncheckworkflow triggered on PRs,masterpushes, version tag pushes, and a weekly schedule. - Pins the
checkout,setup-go, andgolang/govulncheck-actionactions by commit SHA.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
The action performs its own checkout and Go setup, so the explicit steps caused a duplicate Authorization header error (HTTP 400). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…dency) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
shino
reviewed
Mar 25, 2026
| with: | ||
| go-version-file: go.mod | ||
| - name: Run govulncheck | ||
| uses: golang/govulncheck-action@b625fbe08f3bccbe446d94fbf87fcc875a4f50ee # v1.0.4 |
Collaborator
There was a problem hiding this comment.
The commit is at 2024, very old in respect to GH workflows.
After that, a few nice changes included:
- bug fix golang/govulncheck-action@1ea7606
- update deps: golang/govulncheck-action@5accf6f
- SHA pinning golang/govulncheck-action@31f7c54
Using tagged commit is generally nice option, but may we prefer newer ones?
Collaborator
|
@kotakanbe Can we remove codeql workflow? https://github.com/future-architect/vuls/blob/master/.github/workflows/codeql-analysis.yml |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
govulncheckCI workflow to detect known vulnerabilities in dependenciesgolang/govulncheck-action@v1.0.4with SHA pinningMotivation
Vuls is a vulnerability scanner, but its own dependencies are not scanned for known CVEs in CI. This closes that gap.
Test plan
🤖 Generated with Claude Code