-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ITSEC-2205 Add Dependency Review workflow (#2211)
Signed-off-by: immutable-art <[email protected]>
- Loading branch information
1 parent
f01c913
commit c09c88b
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: 'Dependency Review' | ||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
workflow_dispatch: | ||
|
||
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: | ||
# Possible values: "critical", "high", "moderate", "low" | ||
fail-on-severity: critical | ||
|
||
# Address https://github.com/actions/dependency-review-action/issues/456 | ||
base-ref: ${{ github.event.pull_request.base.sha || github.event.repository.default_branch }} | ||
head-ref: ${{ github.event.pull_request.head.sha || github.ref }} |