Skip to content

ci: scope trivy scan to dependency changes on PRs, block releases#189

Merged
pranavjain97 merged 1 commit intomasterfrom
ci/trivy-scan-optimization
Apr 16, 2026
Merged

ci: scope trivy scan to dependency changes on PRs, block releases#189
pranavjain97 merged 1 commit intomasterfrom
ci/trivy-scan-optimization

Conversation

@pranavjain97
Copy link
Copy Markdown
Contributor

  • Remove Trivy from reusable build-and-test workflow (ran on every PR)
  • Add Trivy to PR workflow with path filter: only runs when package.json, package-lock.json, or Dockerfile change
  • Add Trivy as a blocking gate before Docker image push in the release workflow to prevent publishing vulnerable images

- Remove Trivy from reusable build-and-test workflow (ran on every PR)
- Add Trivy to PR workflow with path filter: only runs when
  package.json, package-lock.json, or Dockerfile change
- Add Trivy as a blocking gate before Docker image push in the
  release workflow to prevent publishing vulnerable images

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@pranavjain97 pranavjain97 requested a review from a team as a code owner April 16, 2026 18:23
@pranavjain97 pranavjain97 merged commit b774030 into master Apr 16, 2026
20 checks passed
@pranavjain97 pranavjain97 deleted the ci/trivy-scan-optimization branch April 16, 2026 18:53
@linear
Copy link
Copy Markdown

linear bot commented Apr 16, 2026

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.

2 participants