Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to trigger dependabot scan on developer pull requests

I'm not sure if my use case is one dependabot is suited for, so hoping someone can tell me if it is or is not, and if it is, point me to some documentation on how to do what I'm describing:

I want to create workflow that:

  1. runs dependabot scan on each developer pull request
  2. dependabot only reports on newly introduced or updated dependencies
  3. pull request is blocked by any new dependencies with vulnerabilities of medium or higher
  4. dependabot does not create PR as a result of a PR scan

Is this possible?

like image 420
RJ Cole Avatar asked Feb 14 '26 18:02

RJ Cole


1 Answers

This is possible with the dependency review action: https://github.com/actions/dependency-review-action

like image 81
courtneycl Avatar answered Feb 16 '26 18:02

courtneycl



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!