Repository navigation
fix(ci): move NVD mirror to dedicated vig-os/nvd-mirror Pages host - #872
Merged
Merged
Conversation
GitHub immutable releases block updating a fixed release tag's assets (and poison the tag once used), so the mirror cannot live on a release in this repo. Host it in a dedicated public repo, vig-os/nvd-mirror, served on GitHub Pages, and point vulnix --mirror at https://vig-os.github.io/nvd-mirror/. Drop the in-repo nvd-mirror-refresh.yml — that job now lives in the mirror repo. Refs: #870
Contributor
Author
|
Verified end-to-end on this branch. ✅ Dispatched
The mirror is live and serving all 7 feeds ( |
This was referenced Jul 6, 2026
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.
Follow-up to #871 (already merged). Refs #870.
Why
#871 landed the mirror as release assets in this repo, but that approach is blocked by GitHub immutable releases: assets can't be updated/clobbered after creation, and once the
nvd-mirrortag is used by an immutable release it's poisoned (can't recreate). The in-reponvd-mirror-refresh.ymlalso can't run — a new workflow is only schedulable/dispatchable from the default branch, andmainis still the pre-cutover Debian world.So as merged,
release/0.4.0pointsvulnix --mirrorat a release-asset URL that can't exist → the gate would fail.Change
nvd-mirror-refresh.yml.vulnix --mirror(insecurity-scan.ymland therelease.ymlvulnix-gate) at the dedicated public mirrorvig-os/nvd-mirror, served on GitHub Pages:https://vig-os.github.io/nvd-mirror/.The dedicated repo owns the one job that talks to NVD (its default branch, so it schedules/dispatches immediately — no cutover dependency). It is already live and serving all 7 feeds (
nvdcve-2.0-{2021..2026}.json.gz+modified, 117 MB, HTTP 200 + valid gzip), bootstrapped from a known-good local copy.Test plan
https://vig-os.github.io/nvd-mirror/nvdcve-2.0-*.json.gz→ 200, valid gzip (all 7).security-scan.ymlon this branch → passed in 97 s via the mirror (run 28792515788);NVD_MIRROR=https://vig-os.github.io/nvd-mirror/, gate green, nonvd.nist.govcold-crawl.