Skip to content

Commit c9180f7

Browse files
committed
sca-scan.yml
1 parent f2fa96a commit c9180f7

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/sca-scan.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Source Composition Analysis Scan
2+
on:
3+
pull_request:
4+
types: [opened, synchronize, reopened]
5+
jobs:
6+
security-sca:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@master
10+
- uses: snyk/actions/setup@master
11+
- name: Run Snyk to check for vulnerabilities
12+
run: snyk test --all-projects --fail-on=all
13+
env:
14+
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}

0 commit comments

Comments
 (0)