Skip to content

Commit 093b8ff

Browse files
authored
ci: add dependency review scanning to pull requests (#4930)
1 parent 39c0fd3 commit 093b8ff

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/scan.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,16 @@ jobs:
3737
fossa-api-key: ${{ secrets.FOSSA_API_KEY }}
3838
github-token: ${{ github.token }}
3939

40+
dependency-review:
41+
name: Dependency Review
42+
if: ${{ github.event_name == 'pull_request' }}
43+
runs-on: ubuntu-latest
44+
steps:
45+
- name: Checkout
46+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
47+
- name: Run Dependency Review
48+
uses: actions/dependency-review-action@ce3cf9537a52e8119d91fd484ab5b8a807627bf8 # v4.6.0
49+
4050
trivy:
4151
name: Trivy
4252
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)