Skip to content

Add bundle-audit to CI for Gemfile.lock CVE gating#5

Merged
jramos merged 1 commit into
developfrom
chore/security-ci
Apr 22, 2026
Merged

Add bundle-audit to CI for Gemfile.lock CVE gating#5
jramos merged 1 commit into
developfrom
chore/security-ci

Conversation

@jramos
Copy link
Copy Markdown
Owner

@jramos jramos commented Apr 22, 2026

Summary

  • Adds bundler-audit to the group :development dev gems.
  • New audit job in .github/workflows/ci.yml runs bundle exec bundle-audit check --update on every push and PR, gating merges on any known CVE in Gemfile.lock.
  • rake audit task available locally (not in rake default — keeps the common dev loop fast and offline-capable).
  • CHANGELOG entry under [Unreleased].

Complements the Dependabot config landed in PR #4: Dependabot keeps Gemfile.lock moving as new gem versions drop; bundle-audit enforces "can't merge with a known CVE in the current lockfile."

Test plan

  • bundle exec rake audit passes locally (1078 advisories; no vulnerabilities found).
  • bundle exec rake (spec + rubocop) still green — 226 examples, no offenses.
  • CI audit job turns green on the PR.

@jramos jramos merged commit e466cc6 into develop Apr 22, 2026
6 checks passed
@jramos jramos deleted the chore/security-ci branch April 22, 2026 22:07
@jramos jramos mentioned this pull request Apr 25, 2026
3 tasks
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