ci: add action for synk as rook licence
Adding github action for synk as licence for rook. This will replace FOSSA licence in future. Links to read about synk 1. https://snyk.io/ 2. https://github.com/snyk/snyk Signed-off-by: subhamkrai <srai@redhat.com>
This commit is contained in:
1 parent
1a6827bea5
commit
faefd097b0
1 file changed
+25
@@ -0,0 +1,25 @@
|
||||
name: Security scanning
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- v*
|
||||
branches:
|
||||
- master
|
||||
- release-*
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
- release-*
|
||||
jobs:
|
||||
security:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: checkout
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
||||
- name: run Snyk to check for code vulnerabilities
|
||||
uses: snyk/actions/golang@master
|
||||
env:
|
||||
SNYK_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
Reference in new issue
Block a user