Skip to content

Commit 88c65ab

Browse files
andy-neumaandy-neuma
andauthored
add snyk security scan (opendatahub-io#217)
Co-authored-by: andy-neuma <[email protected]>
1 parent 1e358ff commit 88c65ab

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: snyk security scan
2+
run-name: SNYK security scan for '${{ github.ref }}'
3+
4+
on: [push]
5+
6+
env:
7+
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
8+
9+
jobs:
10+
11+
SNYK:
12+
runs-on: ubuntu-latest
13+
timeout-minutes: 60
14+
15+
steps:
16+
- uses: actions/checkout@master
17+
18+
- uses: snyk/actions/setup@master
19+
20+
- name: Generate code vulnerability report
21+
id: run_snyk
22+
run: |
23+
snyk code test --project-name="${{ github.repository }}" --report ${{ github.workspace }}
24+
continue-on-error: true

0 commit comments

Comments
 (0)