chore(ci): add grype vulnerability scan on every PR - #8
Merged
Merged
Conversation
grype (anchore/scan-action) on each PR + integration-branch push: fail on a HIGH/CRITICAL vuln that has a fix (only-fixed), SARIF to the Security tab. .grype.yaml excludes node_modules — prebuilt tool binaries (esbuild) generate un-actionable stdlib CVEs; the real dependency surface is cataloged from the lockfiles/go.mod.
|
You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool. What Enabling Code Scanning Means:
For more information about GitHub Code Scanning, check out the documentation. |
Upload SARIF needs GHAS code scanning, which private repos lack — the always()-upload failed the whole grype check on a clean scan. continue-on-error keeps grype fail-build as the real gate.
🔎 Grype — no fixable vulnerabilities ✅ |
Install grype (pinned) and render --only-fixed as a table, then upsert one sticky PR comment via marocchino/sticky-pull-request-comment (SHA-pinned to v3.0.5). Best-effort (continue-on-error) so it never gates the check; gives finding visibility on private repos without GHAS code scanning.
initializ-mk
force-pushed
the
chore/grype-ci
branch
from
September 14, 2026 17:08
0639eec to
91ee4ba
Compare
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.
Adds workspace-standard grype CI (
.github/workflows/security-scan.yml,anchore/scan-actionon every PR + integration-branch push): fails on a High/Critical vuln that has a fix (only-fixed— no-fix advisories don't block), SARIF to the Security tab..grype.yamlexcludes node_modules — prebuilt tool binaries (esbuild) throw un-actionable Go-stdlib CVEs; the real dependency surface is cataloged from the lockfiles / go.mod. This repo currently has no High/Critical (with a fix), so the gate starts green.🤖 Generated with Claude Code