File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change 1+ name : snyk
2+ on :
3+ schedule :
4+ - cron : " 0 10 * * 1" # Monday @ 10am UTC
5+ workflow_dispatch :
6+
7+ env :
8+ SNYK_TOKEN : ${{ secrets.SNYK_TOKEN }}
9+ SNYK_ORG : rstudio-connect
10+ SNYK_PROJECT : rsconnect-python
11+
12+ jobs :
13+ python-dependencies :
14+ runs-on : ubuntu-latest
15+ steps :
16+ - uses : actions/checkout@master
17+ - name : Run Snyk on dependencies
18+ uses : snyk/actions/python@master
19+ with :
20+ command : monitor
21+ args : --file=setup.py --print-deps --project-name=${{ env.SNYK_PROJECT }} --org=${{ env.SNYK_ORG }}
22+ python-code :
23+ runs-on : ubuntu-latest
24+ steps :
25+ - uses : actions/checkout@master
26+ - name : Run Snyk static analysis
27+ uses : snyk/actions/python@master
28+ with :
29+ command : code test
30+ args : --project-name=${{ env.SNYK_PROJECT }} --org=${{ env.SNYK_ORG }}
You can’t perform that action at this time.
0 commit comments