forked from argoproj/argo-workflows
-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (28 loc) · 815 Bytes
/
snyk.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
name: Snyk
on:
schedule:
- cron: "30 2 * * *"
jobs:
golang:
if: github.repository == 'argoproj/argo-workflows'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Run Snyk to check for vulnerabilities
uses: snyk/actions/golang@master
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
with:
args: --severity-threshold=high
node:
if: github.repository == 'argoproj/argo-workflows'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- run: yarn --cwd ui install
- name: Run Snyk to check for vulnerabilities
uses: snyk/actions/node@master
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
with:
args: --file=ui/package.json --severity-threshold=high