Skip to content

Commit

Permalink
ITSEC-2205 Add Dependency Review workflow (#2211)
Browse files Browse the repository at this point in the history
Signed-off-by: immutable-art <[email protected]>
  • Loading branch information
immutable-art authored Sep 24, 2024
1 parent f01c913 commit c09c88b
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/dependency-review.yaml
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 }}

0 comments on commit c09c88b

Please sign in to comment.