Repository navigation
ci(security): consolidate container-image scanning to single source of truth - #605
Merged
Merged
Conversation
PR CI Trivy becomes a blocking gate only and no longer uploads SARIF to the GitHub Security tab; the nightly scheduled scan of the published :latest image (category container-image-latest) is now the single authoritative scan. Removes the duplicate container-image category that could not reliably auto-close. Refs: #604
6 tasks
c-vigo
enabled auto-merge
June 21, 2026 20:11
typstyle is installed from latest release; upstream shipped 0.15.0 (2026-06-20), so the hardcoded 0.14. assertion now fails. Update the expected minor version to unblock CI. Refs: #604
4 tasks done
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.
Description
Consolidates container-image vulnerability scanning to a single source of truth and cleans up the resulting orphaned/stale code-scanning alerts. Closes #604.
The Security and quality tab had 564 open alerts, but ~328 were stale, orphaned, or duplicated rather than genuine exposure (see #604 for the full evaluation). Root cause: two overlapping Trivy scans (PR CI
container-image+ nightlycontainer-image-latest) plus a defunctcontainer-image-scheduledcategory, where the PR-CI alerts could not reliably auto-close.Type of Change
ci-- CI/CD pipeline changesChanges Made
ci.yml: PR CI Trivy is now a blocking gate only (fail on fixable HIGH/CRITICAL) plus non-blocking job-log reports. Removed theGenerate SARIF report+Upload SARIF to GitHub Securitysteps and the now-unneededsecurity-events: writepermission. Added a comment documenting the SSoT.security-scan.yml: header comment updated to state that the nightly:latestscan (container-image-latest) is the single authoritative scan for the Security tab.container-image-scheduledalerts (no producing workflow since 2026-03-30).container-imagealerts (category no longer produced after this change).supply-chain/*findings, each with documented rationale.container-image-latestnightly scan.Changelog Entry
Security
:latestimage (container-image-latest) is now the single authoritative scan for the GitHub Security tab, ending duplicate/stale alert categoriescontainer-image-scheduledand stalecontainer-imagecode-scanning alerts that could no longer auto-closeTesting
pre-commit run --fileson changed workflows — all hooks pass (yamllint, action-pin check, manifest sync)gh api .../code-scanning/alerts?state=openreturns onlycontainer-image-latest(237)Manual Testing Details
Workflow-only change (no testable code logic added), so no unit tests apply. The PR-CI Trivy gate behaviour is unchanged — only the SARIF upload (Security-tab publishing) was removed.
Checklist
CHANGELOG.mdunder[Unreleased]