actions-marketplace-validations/Dependency Review

Prevent the introduction of dependencies with known vulnerabilities

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
repo-tokenToken for the repository. Can be passed in using `{{ secrets.GITHUB_TOKEN }}`.no${{ github.token }}
fail-on-severityDon't block PRs below this severity. Possible values are `low`, `moderate`, `high`, `critical`.no
fail-on-scopesDependency scopes to block PRs on. Comma-separated list. Possible values are 'unknown', 'runtime', and 'development' (e.g. "runtime, development")no
base-refThe base git ref to be used for this check. Has a default value when the workflow event is `pull_request` or `pull_request_target`. Must be provided otherwise.no
head-refThe head git ref to be used for this check. Has a default value when the workflow event is `pull_request` or `pull_request_target`. Must be provided otherwise.no
config-fileA path to the configuration file for the action.no
allow-licensesComma-separated list of allowed licenses (e.g. "MIT, GPL 3.0, BSD 2 Clause")no
deny-licensesComma-separated list of forbidden licenses (e.g. "MIT, GPL 3.0, BSD 2 Clause")no
allow-dependencies-licensesComma-separated list of dependencies in purl format (e.g. "pkg:npm/express, pkg:pypi/pycrypto"). These dependencies will be permitted to use any license, no matter what license policy is enforced otherwise.no
allow-ghsasComma-separated list of allowed GitHub Advisory IDs (e.g. "GHSA-abcd-1234-5679, GHSA-efgh-1234-5679")no
external-repo-tokenA token for fetching external configuration file if it lives in another repository. It is required if the repository is privateno
license-checkA boolean to determine if license checks should be performedno
vulnerability-checkA boolean to determine if vulnerability checks should be performedno
comment-summary-in-prDetermines if the summary is posted as a comment in the PR itself. Setting this to `always` or `on-failure` requires you to give the workflow `pull-requests: write` permissionsno
deny-packagesA comma-separated list of package URLs to deny (e.g. "pkg:npm/express, pkg:pypi/pycrypto"). If version specified, only deny matching packages and version; else, deny all regardless of version.no
deny-groupsA comma-separated list of package URLs for group(s)/namespace(s) to deny (e.g. "pkg:npm/express/, pkg:pypi/pycrypto/"). Please note that the group name must be followed by a `/`.no
retry-on-snapshot-warningsWhether to retry on snapshot warningsno
retry-on-snapshot-warnings-timeoutNumber of seconds to wait before stopping snapshot retries.no
warn-onlyWhen set to `true` this action will always complete with success, overriding the `fail-on-severity` parameter.no
show-openssf-scorecardShow a summary of the OpenSSF Scorecard scores.no
warn-on-openssf-scorecard-levelNumeric threshold for the OpenSSF Scorecard score. If the score is below this threshold, the action will warn you.no
namedescription
comment-contentPrepared dependency report comment
dependency-changesAll dependency changes (JSON)
vulnerable-changesVulnerable dependency changes (JSON)
invalid-license-changesInvalid license dependency changes (JSON)
denied-changesDenied dependency changes (JSON)