You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-1Lines changed: 11 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,7 @@
1
1
# dependency-review-action
2
2
3
-
This action scans your pull requests for dependency changes and will raise an error if any new dependencies have existing vulnerabilities. The action is supported by an [API endpoint](https://docs.github.com/en/rest/reference/dependency-graph#dependency-review) that diffs the dependencies between any two revisions.
3
+
This action scans your pull requests for dependency changes, and will
4
+
raise an error if any vulnerabilities or invalid licenses are being introduced. The action is supported by an [API endpoint](https://docs.github.com/en/rest/reference/dependency-graph#dependency-review) that diffs the dependencies between any two revisions.
4
5
5
6
The action is available for all public repositories, as well as private repositories that have GitHub Advanced Security licensed.
6
7
@@ -85,6 +86,10 @@ jobs:
85
86
# Possible values: "critical", "high", "moderate", "low"
Copy file name to clipboardExpand all lines: action.yml
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,12 @@ inputs:
10
10
description: Don't block PRs below this severity. Possible values are `low`, `moderate`, `high`, `critical`.
11
11
required: false
12
12
default: 'low'
13
+
base-ref:
14
+
description: The 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.
15
+
required: false
16
+
head-ref:
17
+
description: The 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.
18
+
required: false
13
19
allow-licenses:
14
20
description: Comma-separated list of allowed licenses (e.g. "MIT, GPL 3.0, BSD 2 Clause")
0 commit comments