Comments (4)
You can specify the base/head where the diff of those two will be used to create the list of dependencies to review.
dependency-review-action/action.yml
Lines 25 to 30 in 0659a74
The base/head git ref to be used for this check. Has a default value when the workflow event is
pull_request
orpull_request_target
. Must be provided otherwise.
Ex: https://github.com/ctcampbellcom/WebGoat/actions/runs/8667866545
head-ref: ${{ github.ref }} base-ref: ${{ github.event.repository.default_branch }}
dependency-review Not in the context of a pull request. Skipping comment creation.
from dependency-review-action.
You can specify the base/head where the diff of those two will be used to create the list of dependencies to review.
dependency-review-action/action.yml
Lines 25 to 30 in 0659a74
The base/head git ref to be used for this check. Has a default value when the workflow event is
pull_request
orpull_request_target
. Must be provided otherwise.Ex: https://github.com/ctcampbellcom/WebGoat/actions/runs/8667866545
head-ref: ${{ github.ref }} base-ref: ${{ github.event.repository.default_branch }}
dependency-review Not in the context of a pull request. Skipping comment creation.
Thank you @felickz. I will give it a try based on your recommendation and let you know.
from dependency-review-action.
Thank you to @felickz for the very thorough answer on the topic of running on branches!
I'll take the other part of this issue:
How will it detect when there is no change in dependencies, yet the issue is introduced by the old version being used?
That's not really the use case that Dependency Review is intended to solve. It sounds like what you want is something like Dependabot alerts, but with support for multiple branches. Is that right?
from dependency-review-action.
@juxtin - I was looking for something similar to Veracode SCA (https://github.com/marketplace/actions/veracode-dependency-scanning) where I can run the dependency review on a branch or any commit.
This would be a great improvement if it can be supported. Let me know.
from dependency-review-action.
Related Issues (20)
- Blocking issues (should block but does not) HOT 5
- Add list of resolved vulnerabilities to the PR Comment / Logs
- Invalid URL for OpenSSF Scorecard Package HOT 3
- Create a PR check for default values in action.yml
- Bug: Some repos get error "fetch failed" when fetching v4.2.3 HOT 3
- Action fails to decorate PR when text is too long HOT 2
- Deny Packages Icon should be Red X (not a yellow warning) HOT 3
- Feature Request: Block on unknown licenses HOT 1
- `warn_only` Does Not Apply When Using a Deny List HOT 1
- error "fetch failed" with v4.2.5 HOT 3
- Scorecard table URLs include duplicate https:// HOT 3
- MIT is an invalid SPDX license identifier? HOT 2
- Question: Is this action limited to revisions on the _default_ branch only? HOT 2
- Conflict between vulnerabilities in scorecard vs check
- v4.3.0 Causing PURL Processing Errors HOT 6
- Latest release breaks dependabot HOT 3
- Configuring allow-dependencies-licenses fails the action HOT 3
- Error :- Purl String argument is required . HOT 4
- Adding a license in 'allow-dependencies-licenses' does not prevent it from being populated in "invalid-license-changes" HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dependency-review-action.