Skip to content

ci: add checkout to release scan job for vex.json#118

Open
paradoxbound wants to merge 1 commit intomainfrom
paradoxbound/fix-scan-vex-checkout
Open

ci: add checkout to release scan job for vex.json#118
paradoxbound wants to merge 1 commit intomainfrom
paradoxbound/fix-scan-vex-checkout

Conversation

@paradoxbound
Copy link
Copy Markdown
Owner

Summary

  • The release scan job runs trivy image --vex vex.json but had no actions/checkout step, so vex.json was missing and the scan always failed with FATAL: VEX error: unable to load VEX: open vex.json: no such file or directory
  • Add a sparse checkout of vex.json only (minimal footprint)
  • Bump version to 2.6.3 to trigger a release once merged
  • Add missing CHANGELOG entries for v2.6.2 (security fix, Zod 4, dependency bumps) and v2.6.3

Root cause

The scan job was added in #91 but only the pre-merge-cd-check job (which already had checkout) was tested. The post-merge scan job ran in a fresh runner with no repo checkout.

Test plan

  • npm run build — compiles without errors
  • npm test — 111 tests pass
  • Verified pre-merge-cd-check job already has checkout (line 570) — no change needed there
  • Post-merge: verify scan job succeeds and v2.6.3 Docker image is published

🤖 Generated with Claude Code

The release scan job runs `trivy image --vex vex.json` but had no
checkout step, so vex.json was missing and CRITICAL scan always failed.
Add a sparse checkout of vex.json only. Also adds missing CHANGELOG
entries for v2.6.2 (security fix) and v2.6.3.

Signed-off-by: Jim <paradoxbound@users.noreply.github.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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