-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: adjust Dependency Review action to upstream breaking change #1197
Conversation
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Snapshot WarningsEnsure that dependencies are being submitted on PR branches and consider enabling retry-on-snapshot-warnings. See the documentation for more information and troubleshooting advice. OpenSSF Scorecard
Scanned Manifest Files |
Conventional Commits Report
🚀 Conventional commits found. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your contribution @mgoetzegb ... would it be "too much" to ask you to also sort the list of allowed dependencies? That would be awesome ... thank you!
No problem, I already had the licenses sorted locally, but I thought it is good to have this in a separate commit and was concerned that the auto merge feature will just squash it without asking. But I see it is set to |
The github dependency review action no longer allows to pass in logically connected licenses. So if there is a `License-A AND License-B` in the list of allowed licenses, the action will always fail if a dependency has only `License-A` or `License B`. For reference see: actions/dependency-review-action#792 This results in false positives for dependencies with something like `License-A AND License-B`, however as this is much rarer than e.g. `MIT` license, it is preferable to pass on all the single licenses.
20c20b3
to
9b4f8bb
Compare
What
Remove all entries from the allow licenses of the Dependency Review action which are not a single license, but have the pattern
License-A AND License-B
orLicense-A OR License-B
.Why
The github dependency review action no longer allows to pass in logically connected licenses. So if there is a
License-A AND License-B
in the list of allowed licenses, the action will always fail if a dependency has onlyLicense-A
orLicense B
.This results in false positives for dependencies with something like
License-A AND License-B
, however as this is much rarer than e.g.MIT
license, it is preferable to pass on all the single licenses.References
Github Action Issue: actions/dependency-review-action#792