Skip to content

Add vulnerability-check workflow (pilot for merge-queue nancy scan) - #192

Closed
QuentinBisson wants to merge 1 commit into
mainfrom
add-vulnerability-check-workflow
Closed

Add vulnerability-check workflow (pilot for merge-queue nancy scan)#192
QuentinBisson wants to merge 1 commit into
mainfrom
add-vulnerability-check-workflow

Conversation

@QuentinBisson

Copy link
Copy Markdown
Contributor

What

Adds a vulnerability-check GitHub Actions workflow that calls the new github-workflows/vulnerability-check.yaml reusable workflow on pull_request and merge_group.

microerror is the pilot for moving the blocking nancy scan out of the CircleCI per-build path and into a GitHub merge-queue check.

Why

Nancy runs in CircleCI (architect/go-test) on every build. The authenticated scan volume drove the Sonatype credit overrun that broke CI on main. A merge_group-triggered check scans the exact commit about to land, once, which satisfies the compliance requirement (last merged commit is always scanned) while cutting the redundant per-build scans.

Sequencing

This PR is blocked on giantswarm/github-workflows#220 (the reusable workflow must exist on @main first).

Deliberately additive: it does not yet remove the CircleCI scan, so we can confirm the GHA scan passes green before changing anything. Follow-ups, once this is green:

  1. Bump the architect orb (needs go-test: add run_nancy param to make the nancy scan optional architect-orb#844 released) and set run_nancy: false in .circleci/config.yml to stop double-scanning.
  2. Enable the merge queue on main and mark this check required (via a repository ruleset).

Calls the github-workflows vulnerability-check reusable workflow on
pull_request and merge_group, so the nancy scan can gate the merge
queue and run once per merge instead of on every CircleCI build.
@QuentinBisson
QuentinBisson deleted the add-vulnerability-check-workflow branch June 21, 2026 06:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant