Describe the bug
I made a PR to change my Poetry-defined Python project dependencies from using == to >= and now dependency-review-action is complaining about pylint's GPL license despite it being in the allow-dependencies-licenses list.
To Reproduce
For now anyways, see screenshots and exampes below.
Expected behavior
I expect the allow configuration to avoid complaints about the pylint license.
Screenshots
Action version
What version of the action are you using in your workflow?
v4 (v4.3.4)
</details>
<details>
<summary>workflow source</summary>
```yaml
# Managed by repo-content-updater
# Dependency Review Action
#
# This Action will scan dependency manifest files that change as part of a Pull Request, surfacing known-vulnerable versions of the packages declared or updated in the PR. Once installed, if the workflow run is marked as required, PRs introducing known-vulnerable packages will be blocked from merging.
#
# Source repository: https://github.com/actions/dependency-review-action
# Public documentation: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review#dependency-review-enforcement
name: "🚨 Dependency Review"
on: [pull_request]
permissions:
contents: read
jobs:
dependency-review:
runs-on: ubuntu-latest
steps:
- name: "Checkout Repository"
uses: actions/checkout@v4
- name: "Dependency Review"
uses: actions/dependency-review-action@v4
with:
allow-dependencies-licenses: pkg:pypi/pylint, pkg:pypi/pyinstaller
deny-licenses: AGPL-1.0-only, AGPL-1.0-or-later, AGPL-1.0-or-later, AGPL-3.0-or-later, GPL-1.0-only, GPL-1.0-or-later, GPL-2.0-only, GPL-2.0-or-later, GPL-3.0-only, GPL-3.0-or-later
Details
Describe the bug I made a PR to change my Poetry-defined Python project dependencies from using
==
to>=
and now dependency-review-action is complaining about pylint's GPL license despite it being in theallow-dependencies-licenses
list.To Reproduce For now anyways, see screenshots and exampes below.
Expected behavior I expect the allow configuration to avoid complaints about the pylint license.
Screenshots
Action version What version of the action are you using in your workflow? v4 (v4.3.4)
Examples https://github.com/Chia-Network/chia-blockchain/actions/runs/11036776910/job/30656244385?pr=18305
full debug log
``` 2024-09-25T16:04:27.0034799Z ##[debug]Starting: dependency-review 2024-09-25T16:04:27.0063159Z ##[debug]Cleaning runner temp folder: /home/runner/work/_temp 2024-09-25T16:04:27.0315302Z ##[debug]Starting: Set up job 2024-09-25T16:04:27.0315984Z Current runner version: '2.319.1' 2024-09-25T16:04:27.0335895Z ##[group]Operating System 2024-09-25T16:04:27.0336576Z Ubuntu 2024-09-25T16:04:27.0336934Z 22.04.5 2024-09-25T16:04:27.0337223Z LTS 2024-09-25T16:04:27.0337640Z ##[endgroup] 2024-09-25T16:04:27.0338007Z ##[group]Runner Image 2024-09-25T16:04:27.0338638Z Image: ubuntu-22.04 2024-09-25T16:04:27.0339238Z Version: 20240922.1.0 2024-09-25T16:04:27.0340250Z Included Software: https://github.com/actions/runner-images/blob/ubuntu22/20240922.1/images/ubuntu/Ubuntu2204-Readme.md 2024-09-25T16:04:27.0341646Z Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu22%2F20240922.1 2024-09-25T16:04:27.0342598Z ##[endgroup] 2024-09-25T16:04:27.0342993Z ##[group]Runner Image Provisioner 2024-09-25T16:04:27.0343431Z 2.0.384.1 2024-09-25T16:04:27.0344041Z ##[endgroup] 2024-09-25T16:04:27.0358982Z ##[group]GITHUB_TOKEN Permissions 2024-09-25T16:04:27.0360660Z Contents: read 2024-09-25T16:04:27.0361303Z Metadata: read 2024-09-25T16:04:27.0361686Z ##[endgroup] 2024-09-25T16:04:27.0364786Z Secret source: Actions 2024-09-25T16:04:27.0365577Z ##[debug]Primary repository: Chia-Network/chia-blockchain 2024-09-25T16:04:27.0366277Z Prepare workflow directory 2024-09-25T16:04:27.0431037Z ##[debug]Creating pipeline directory: '/home/runner/work/chia-blockchain' 2024-09-25T16:04:27.0434196Z ##[debug]Creating workspace directory: '/home/runner/work/chia-blockchain/chia-blockchain' 2024-09-25T16:04:27.0435813Z ##[debug]Update context data 2024-09-25T16:04:27.0439578Z ##[debug]Evaluating job-level environment variables 2024-09-25T16:04:27.0921913Z ##[debug]Evaluating job container 2024-09-25T16:04:27.0925841Z ##[debug]Evaluating job service containers 2024-09-25T16:04:27.0928091Z ##[debug]Evaluating job defaults 2024-09-25T16:04:27.0998303Z Prepare all required actions 2024-09-25T16:04:27.1156466Z Getting action download info 2024-09-25T16:04:27.2895319Z Download action repository 'actions/checkout@v4' (SHA:692973e3d937129bcbf40652eb9f2f61becf3332) 2024-09-25T16:04:27.2924654Z ##[debug]Copied action archive '/opt/actionarchivecache/actions_checkout/692973e3d937129bcbf40652eb9f2f61becf3332.tar.gz' to '/home/runner/work/_actions/_temp_bb9db0f2-9e13-4f94-bee8-b8ba548bb97e/9e1795de-eeb2-42ea-aba2-8970de9b009d.tar.gz' 2024-09-25T16:04:27.3564982Z ##[debug]Unwrap 'actions-checkout-692973e' to '/home/runner/work/_actions/actions/checkout/v4' 2024-09-25T16:04:27.3713951Z ##[debug]Archive '/home/runner/work/_actions/_temp_bb9db0f2-9e13-4f94-bee8-b8ba548bb97e/9e1795de-eeb2-42ea-aba2-8970de9b009d.tar.gz' has been unzipped into '/home/runner/work/_actions/actions/checkout/v4'. 2024-09-25T16:04:27.3841285Z Download action repository 'actions/dependency-review-action@v4' (SHA:5a2ce3f5b92ee19cbb1541a4984c76d921601d7c) 2024-09-25T16:04:27.8231050Z ##[debug]Download 'https://api.github.com/repos/actions/dependency-review-action/tarball/5a2ce3f5b92ee19cbb1541a4984c76d921601d7c' to '/home/runner/work/_actions/_temp_dfa29719-a318-43a4-bdf3-1165c000304e/132f7eb9-0529-4e1d-b0a0-2699fd43322b.tar.gz' 2024-09-25T16:04:27.8577216Z ##[debug]Unwrap 'actions-dependency-review-action-5a2ce3f' to '/home/runner/work/_actions/actions/dependency-review-action/v4' 2024-09-25T16:04:27.8703139Z ##[debug]Archive '/home/runner/work/_actions/_temp_dfa29719-a318-43a4-bdf3-1165c000304e/132f7eb9-0529-4e1d-b0a0-2699fd43322b.tar.gz' has been unzipped into '/home/runner/work/_actions/actions/dependency-review-action/v4'. 2024-09-25T16:04:27.8767412Z ##[debug]action.yml for action: '/home/runner/work/_actions/actions/checkout/v4/action.yml'. 2024-09-25T16:04:27.9647617Z ##[debug]action.yml for action: '/home/runner/work/_actions/actions/dependency-review-action/v4/action.yml'. 2024-09-25T16:04:27.9843465Z ##[debug]Set step '__actions_checkout' display name to: 'Checkout Repository' 2024-09-25T16:04:27.9846304Z ##[debug]Set step '__actions_dependency-review-action' display name to: 'Dependency Review' 2024-09-25T16:04:27.9847864Z Complete job name: dependency-review 2024-09-25T16:04:27.9861293Z ##[debug]Collect running processes for tracking orphan processes. 2024-09-25T16:04:28.0084834Z ##[debug]Finishing: Set up job 2024-09-25T16:04:28.0281921Z ##[debug]Evaluating condition for step: 'Checkout Repository' 2024-09-25T16:04:28.0328023Z ##[debug]Evaluating: success() 2024-09-25T16:04:28.0333833Z ##[debug]Evaluating success: 2024-09-25T16:04:28.0357106Z ##[debug]=> true 2024-09-25T16:04:28.0364176Z ##[debug]Result: true 2024-09-25T16:04:28.0398102Z ##[debug]Starting: Checkout Repository 2024-09-25T16:04:28.0513620Z ##[debug]Register post job cleanup for action: actions/checkout@v4 2024-09-25T16:04:28.0619581Z ##[debug]Loading inputs 2024-09-25T16:04:28.0627523Z ##[debug]Evaluating: github.repository 2024-09-25T16:04:28.0629116Z ##[debug]Evaluating Index: 2024-09-25T16:04:28.0631402Z ##[debug]..Evaluating github: 2024-09-25T16:04:28.0632679Z ##[debug]..=> Object 2024-09-25T16:04:28.0644865Z ##[debug]..Evaluating String: 2024-09-25T16:04:28.0646025Z ##[debug]..=> 'repository' 2024-09-25T16:04:28.0650032Z ##[debug]=> 'Chia-Network/chia-blockchain' 2024-09-25T16:04:28.0651984Z ##[debug]Result: 'Chia-Network/chia-blockchain' 2024-09-25T16:04:28.0654909Z ##[debug]Evaluating: github.token 2024-09-25T16:04:28.0655464Z ##[debug]Evaluating Index: 2024-09-25T16:04:28.0656028Z ##[debug]..Evaluating github: 2024-09-25T16:04:28.0656523Z ##[debug]..=> Object 2024-09-25T16:04:28.0656926Z ##[debug]..Evaluating String: 2024-09-25T16:04:28.0657487Z ##[debug]..=> 'token' 2024-09-25T16:04:28.0658369Z ##[debug]=> '***' 2024-09-25T16:04:28.0659189Z ##[debug]Result: '***' 2024-09-25T16:04:28.0674744Z ##[debug]Loading env 2024-09-25T16:04:28.0766076Z ##[group]Run actions/checkout@v4 2024-09-25T16:04:28.0766731Z with: 2024-09-25T16:04:28.0767310Z repository: Chia-Network/chia-blockchain 2024-09-25T16:04:28.0768066Z token: *** 2024-09-25T16:04:28.0768709Z ssh-strict: true 2024-09-25T16:04:28.0769148Z ssh-user: git 2024-09-25T16:04:28.0769516Z persist-credentials: true 2024-09-25T16:04:28.0770064Z clean: true 2024-09-25T16:04:28.0770466Z sparse-checkout-cone-mode: true 2024-09-25T16:04:28.0770922Z fetch-depth: 1 2024-09-25T16:04:28.0771401Z fetch-tags: false 2024-09-25T16:04:28.0771812Z show-progress: true 2024-09-25T16:04:28.0772173Z lfs: false 2024-09-25T16:04:28.0772614Z submodules: false 2024-09-25T16:04:28.0773022Z set-safe-directory: true 2024-09-25T16:04:28.0773422Z ##[endgroup] 2024-09-25T16:04:28.2575328Z ##[debug]GITHUB_WORKSPACE = '/home/runner/work/chia-blockchain/chia-blockchain' 2024-09-25T16:04:28.2577099Z ##[debug]qualified repository = 'Chia-Network/chia-blockchain' 2024-09-25T16:04:28.2578000Z ##[debug]ref = 'refs/pull/18305/merge' 2024-09-25T16:04:28.2579306Z ##[debug]commit = '88aad60bd30bfb078647a5cb57587e4cd100e1e8' 2024-09-25T16:04:28.2580092Z ##[debug]clean = true 2024-09-25T16:04:28.2580819Z ##[debug]filter = undefined 2024-09-25T16:04:28.2581482Z ##[debug]fetch depth = 1 2024-09-25T16:04:28.2582194Z ##[debug]fetch tags = false 2024-09-25T16:04:28.2582815Z ##[debug]show progress = true 2024-09-25T16:04:28.2583567Z ##[debug]lfs = false 2024-09-25T16:04:28.2584179Z ##[debug]submodules = false 2024-09-25T16:04:28.2584928Z ##[debug]recursive submodules = false 2024-09-25T16:04:28.2585596Z ##[debug]GitHub Host URL = 2024-09-25T16:04:28.2587015Z ::add-matcher::/home/runner/work/_actions/actions/checkout/v4/dist/problem-matcher.json 2024-09-25T16:04:28.2689435Z ##[debug]Added matchers: 'checkout-git'. Problem matchers scan action output for known warning or error strings and report these inline. 2024-09-25T16:04:28.2700436Z Syncing repository: Chia-Network/chia-blockchain 2024-09-25T16:04:28.2702372Z ::group::Getting Git version info 2024-09-25T16:04:28.2704318Z ##[group]Getting Git version info 2024-09-25T16:04:28.2705541Z Working directory is '/home/runner/work/chia-blockchain/chia-blockchain' 2024-09-25T16:04:28.2707631Z ##[debug]Getting git version 2024-09-25T16:04:28.2708368Z [command]/usr/bin/git version 2024-09-25T16:04:28.2709412Z git version 2.46.1 2024-09-25T16:04:28.2710449Z ##[debug]0 2024-09-25T16:04:28.2711412Z ##[debug]git version 2.46.1 2024-09-25T16:04:28.2712093Z ##[debug] 2024-09-25T16:04:28.2713547Z ##[debug]Set git useragent to: git/2.46.1 (github-actions-checkout) 2024-09-25T16:04:28.2714511Z ::endgroup:: 2024-09-25T16:04:28.2715008Z ##[endgroup] 2024-09-25T16:04:28.2725980Z ::add-mask::*** 2024-09-25T16:04:28.2727734Z Temporarily overriding HOME='/home/runner/work/_temp/150b9bdb-d241-4275-a0c0-8619806aa27e' before making global git config changes 2024-09-25T16:04:28.2729209Z Adding repository directory to the temporary git global config as a safe directory 2024-09-25T16:04:28.2730251Z [command]/usr/bin/git config --global --add safe.directory /home/runner/work/chia-blockchain/chia-blockchain 2024-09-25T16:04:28.2747270Z ##[debug]0 2024-09-25T16:04:28.2748151Z ##[debug] 2024-09-25T16:04:28.2752487Z Deleting the contents of '/home/runner/work/chia-blockchain/chia-blockchain' 2024-09-25T16:04:28.2756002Z ::group::Initializing the repository 2024-09-25T16:04:28.2756690Z ##[group]Initializing the repository 2024-09-25T16:04:28.2760336Z [command]/usr/bin/git init /home/runner/work/chia-blockchain/chia-blockchain 2024-09-25T16:04:28.2816538Z hint: Using 'master' as the name for the initial branch. This default branch name 2024-09-25T16:04:28.2817848Z hint: is subject to change. To configure the initial branch name to use in all 2024-09-25T16:04:28.2818956Z hint: of your new repositories, which will suppress this warning, call: 2024-09-25T16:04:28.2819664Z hint: 2024-09-25T16:04:28.2820783Z hint: git config --global init.defaultBranchDependency Review
2024-09-25T16:04:37.5367847Z ##[debug]The following issues were found:- ✅ 0 vulnerable package(s)
- ❌ 1 package(s) with incompatible licenses
- ✅ 0 package(s) with invalid SPDX license definitions
- ⚠️ 17 package(s) with unknown licenses.
2024-09-25T16:04:37.5370602Z ##[debug]See the Details below.License Issues
2024-09-25T16:04:37.5371222Z ##[debug]pyproject.toml
2024-09-25T16:04:37.5386068Z ##[debug]OpenSSF Scorecard
2024-09-25T16:04:37.5399661Z ##[debug]Scorecard details
2024-09-25T16:04:37.5400195Z ##[debug]Details
Details
Details
Details
Details
Details
Details
Details
Details
Details
Details
Details
Details
Details
Details
Details
Details
Details
Details
Details
Details
Details
Details
Details
Details
Details
Details
Details
Details
Details
Details
Details
Details
Details
Details
Details
Details
Details
Details
Details
Details
Details
Details
Details
Scanned Manifest Files
2024-09-25T16:04:37.6097831Z ##[debug]pyproject.toml
2024-09-25T16:04:37.6107104Z ##[debug] 2024-09-25T16:04:37.6109820Z ##[debug]Finishing: Dependency Review 2024-09-25T16:04:37.6128229Z ##[debug]Evaluating condition for step: 'Post Checkout Repository' 2024-09-25T16:04:37.6130812Z ##[debug]Evaluating: always() 2024-09-25T16:04:37.6131225Z ##[debug]Evaluating always: 2024-09-25T16:04:37.6132041Z ##[debug]=> true 2024-09-25T16:04:37.6132487Z ##[debug]Result: true 2024-09-25T16:04:37.6133174Z ##[debug]Starting: Post Checkout Repository 2024-09-25T16:04:37.6166821Z ##[debug]Loading inputs 2024-09-25T16:04:37.6167719Z ##[debug]Evaluating: github.repository 2024-09-25T16:04:37.6168104Z ##[debug]Evaluating Index: 2024-09-25T16:04:37.6168440Z ##[debug]..Evaluating github: 2024-09-25T16:04:37.6168955Z ##[debug]..=> Object 2024-09-25T16:04:37.6169219Z ##[debug]..Evaluating String: 2024-09-25T16:04:37.6169516Z ##[debug]..=> 'repository' 2024-09-25T16:04:37.6169865Z ##[debug]=> 'Chia-Network/chia-blockchain' 2024-09-25T16:04:37.6170262Z ##[debug]Result: 'Chia-Network/chia-blockchain' 2024-09-25T16:04:37.6171921Z ##[debug]Evaluating: github.token 2024-09-25T16:04:37.6172277Z ##[debug]Evaluating Index: 2024-09-25T16:04:37.6172559Z ##[debug]..Evaluating github: 2024-09-25T16:04:37.6172861Z ##[debug]..=> Object 2024-09-25T16:04:37.6173132Z ##[debug]..Evaluating String: 2024-09-25T16:04:37.6173410Z ##[debug]..=> 'token' 2024-09-25T16:04:37.6173867Z ##[debug]=> '' 2024-09-25T16:04:37.6174253Z ##[debug]Result: '' 2024-09-25T16:04:37.6183234Z ##[debug]Loading env 2024-09-25T16:04:37.6187828Z Post job cleanup. 2024-09-25T16:04:37.7112417Z ##[debug]Getting git version 2024-09-25T16:04:37.7126819Z [command]/usr/bin/git version 2024-09-25T16:04:37.7162730Z git version 2.46.1 2024-09-25T16:04:37.7185267Z ##[debug]0 2024-09-25T16:04:37.7186055Z ##[debug]git version 2.46.1 2024-09-25T16:04:37.7186539Z ##[debug] 2024-09-25T16:04:37.7187726Z ##[debug]Set git useragent to: git/2.46.1 (github-actions-checkout) 2024-09-25T16:04:37.7191291Z ::add-mask::*** 2024-09-25T16:04:37.7213329Z Temporarily overriding HOME='/home/runner/work/_temp/cda30151-6a69-4e9d-acb1-05492fd958a6' before making global git config changes 2024-09-25T16:04:37.7215046Z Adding repository directory to the temporary git global config as a safe directory 2024-09-25T16:04:37.7219799Z [command]/usr/bin/git config --global --add safe.directory /home/runner/work/chia-blockchain/chia-blockchain 2024-09-25T16:04:37.7250904Z ##[debug]0 2024-09-25T16:04:37.7251613Z ##[debug] 2024-09-25T16:04:37.7258284Z [command]/usr/bin/git config --local --name-only --get-regexp core.sshCommand 2024-09-25T16:04:37.7283605Z ##[debug]1 2024-09-25T16:04:37.7284306Z ##[debug] 2024-09-25T16:04:37.7289857Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core.sshCommand' && git config --local --unset-all 'core.sshCommand' || :" 2024-09-25T16:04:37.7522377Z ##[debug]0 2024-09-25T16:04:37.7522850Z ##[debug] 2024-09-25T16:04:37.7528020Z [command]/usr/bin/git config --local --name-only --get-regexp http.https\:\/\/github.com\/.extraheader 2024-09-25T16:04:37.7547801Z http.https://github.com/.extraheader 2024-09-25T16:04:37.7554423Z ##[debug]0 2024-09-25T16:04:37.7555278Z ##[debug]http.https://github.com/.extraheader 2024-09-25T16:04:37.7555946Z ##[debug] 2024-09-25T16:04:37.7561135Z [command]/usr/bin/git config --local --unset-all http.https://github.com/.extraheader 2024-09-25T16:04:37.7587033Z ##[debug]0 2024-09-25T16:04:37.7587705Z ##[debug] 2024-09-25T16:04:37.7593631Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http.https\:\/\/github.com\/.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :" 2024-09-25T16:04:37.7810420Z ##[debug]0 2024-09-25T16:04:37.7810949Z ##[debug] 2024-09-25T16:04:37.7811392Z ##[debug]Unsetting HOME override 2024-09-25T16:04:37.7876757Z ##[debug]Node Action run completed with exit code 0 2024-09-25T16:04:37.7879897Z ##[debug]Finishing: Post Checkout Repository 2024-09-25T16:04:37.8037833Z ##[debug]Starting: Complete job 2024-09-25T16:04:37.8039605Z Uploading runner diagnostic logs 2024-09-25T16:04:37.8087266Z ##[debug]Starting diagnostic file upload. 2024-09-25T16:04:37.8087688Z ##[debug]Setting up diagnostic log folders. 2024-09-25T16:04:37.8090160Z ##[debug]Creating diagnostic log files folder. 2024-09-25T16:04:37.8107276Z ##[debug]Copying 1 worker diagnostic logs. 2024-09-25T16:04:37.8124163Z ##[debug]Copying 1 runner diagnostic logs. 2024-09-25T16:04:37.8125752Z ##[debug]Zipping diagnostic files. 2024-09-25T16:04:37.8185973Z ##[debug]Uploading diagnostic metadata file. 2024-09-25T16:04:37.8206420Z ##[debug]Diagnostic file upload complete. 2024-09-25T16:04:37.8207081Z Completed runner diagnostic log upload 2024-09-25T16:04:37.8207452Z Cleaning up orphan processes 2024-09-25T16:04:37.8535461Z ##[debug]Finishing: Complete job 2024-09-25T16:04:37.8648374Z ##[debug]Finishing: dependency-review
https://github.com/Chia-Network/chia-blockchain/actions/runs/10356234775/workflow?pr=18305