Closed vanpelt closed 1 year ago
+1, I'm also on v3.1.2 (pinned by hash fde92acd0840415674c16b39c7d703fc28bc511e) and recently got this error. Although I don't use allow-dependencies-licenses
(or any inputs). Re-running the failed job didn't help.
jobs:
dependency-review:
runs-on: ubuntu-latest
steps:
- name: 'Checkout Repository'
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: 'Dependency Review'
uses: actions/dependency-review-action@fde92acd0840415674c16b39c7d703fc28bc511e # v3.1.2
https://github.com/ossf/scorecard/actions/runs/6817882892/job/18542937995?pr=3660
My best guess is this is happening when the action is parsing the changes in go.mod
. I noticed that @spencerschrock has a couple indirect deps in go.mod that look like:
github.com/docker/cli v24.0.7+incompatible // indirect
github.com/docker/distribution v2.8.3+incompatible
I also have a couple packages with +incompatible
. The PUrl parser doesn't like the +
.
Also seeing the same issue, and don't use allow-dependencies-licenses
either.
dependency-review:
runs-on: ubuntu-latest
steps:
- name: "Checkout Repository"
uses: actions/checkout@v3
- name: Dependency Review
uses: actions/dependency-review-action@v3
with:
fail-on-severity: critical
Looked at the mentioned repos and managed to replicate this myself. Submitted a fix with #617.
@theztefan thanks a ton for the PR! I've released version 3.1.3 with the fix.
My review action is failing with this error. I've searched the codebase for "Invalid purl:" and I'm not finding it. I imagine this is coming from my
allow-dependencies-licenses:
however I've tried a number of different options and it's still happening. I've explicitly told the action to use v3.1.2. This is my config: