Repository navigation
ci(security): open a tracking issue when the vulnix scan gate fails - #966
Merged
Merged
Conversation
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.
What & why
Restores the deduplicated auto-issue on scan failure that was lost in the Debian→Nix cutover (
1d4e9db1), so a red nightly vulnix gate surfaces as a GitHub issue rather than a silent red run. Full root-cause history in #965.The trigger case was 2026-07-10 (run 29079456127, CVE-2026-60002, fixed in #963/#964) — the first gate failure to reach
mainpost-0.5.0 with no issue-creation step, so it had to be caught by hand.Change (single file:
.github/workflows/security-scan.yml)scan-nix-imagejobissues: write.failure() && steps.vulnix-gate.outcome == 'failure'(so infra/scan crashes don't file a "findings" issue).security-scanlabel alone — the old label-only dedup would now false-match human-filedsecurity-scanissues (e.g. openssh 10.3p1 client UAF (CVE-2026-60002) fails nightly vulnix gate #963, this Nightly vulnix security scan fails silently — auto-issue creation lost in Nix cutover #965) and never fire.--force): was "...for :latest image", now the Nix image.nix-image-cve-scanartifact (vulnix-findings.json/vulnix-report.txt) and gives the remediate path (advance the pin or add a time-boxed.vulnixignoreexception).Verification
pre-commitsuite green (yamllint, check-action-pins — no new pinned action,ghCLI only).run:scriptshellcheck-clean and dry-run rendered: search arg"Nightly security scan: …" in:titleand the heredoc body (backticks literal,$(date)/${RUN_URL}expanded) both correct.Not changelog-tracked (
ciscope, maintainer-facing CI infra). Targetsrelease/0.5.1so 0.5.1 ships with working alerting.Refs: #965