File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change
1
+ # This workflow automates the process of identifying potential security vulnerabilities
2
+ # using Snyk. Dependency vulnerability scans will be run when a push is made to the main
3
+ # branch, on a weekly schedule, and can also be triggered manually.
4
+
5
+ name : Snyk Vulnerability Scan
6
+ on :
7
+ workflow_dispatch :
8
+ schedule :
9
+ - cron : ' 00 15 * * 1'
10
+ push :
11
+ branches :
12
+ - main
13
+
14
+ jobs :
15
+ security :
16
+ runs-on : ubuntu-latest
17
+ steps :
18
+ - name : Checkout Code
19
+ uses : actions/checkout@v3
20
+ with :
21
+ ref : ' main'
22
+
23
+ - name : Run Snyk To Check For Vulnerabilities
24
+ uses : snyk/actions/gradle@master
25
+ env :
26
+ SNYK_TOKEN : ${{ secrets.SNYK_TOKEN }}
27
+ with :
28
+ command : monitor
29
+ args : --all-sub-projects --org=java-agent --configuration-matching='(^compileClasspath$)|(^runtimeClasspath$)'
You can’t perform that action at this time.
0 commit comments