File tree Expand file tree Collapse file tree 2 files changed +41
-14
lines changed Expand file tree Collapse file tree 2 files changed +41
-14
lines changed Original file line number Diff line number Diff line change 11version : 2
22updates :
3- - package-ecosystem : npm
4- directory : " /"
5- schedule :
6- interval : daily
7- commit-message :
8- prefix : " chore"
9- include : " scope"
10- open-pull-requests-limit : 6
11- ignore :
12- # node-fetch must be synced manually
13- - dependency-name : " node-fetch"
14- - dependency-name : " release-it"
15- - dependency-name : " @release-it/conventional-changelog"
16-
3+ - package-ecosystem : npm
4+ directory : " /"
5+ schedule :
6+ interval : daily
7+ commit-message :
8+ prefix : " chore"
9+ include : " scope"
10+ open-pull-requests-limit : 6
11+ ignore :
12+ # node-fetch must be synced manually
13+ - dependency-name : " node-fetch"
14+ - dependency-name : " release-it"
15+ - dependency-name : " @release-it/conventional-changelog"
16+
17+ - package-ecosystem : " docker"
18+ # Look for a `Dockerfile` in the `root` directory
19+ directory : " /"
20+ # Check for updates once a week
21+ schedule :
22+ interval : " weekly"
23+
Original file line number Diff line number Diff line change 1+ name : Security scan for docker image
2+
3+ on :
4+ workflow_dispatch :
5+ schedule :
6+ - cron : ' 30 4 * * *'
7+
8+ jobs :
9+ build :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - name : Run Trivy vulnerability scanner
13+ uses : aquasecurity/trivy-action@master
14+ with :
15+ image-ref : ' docker.io/swaggerapi/swagger-ui:unstable'
16+ format : ' table'
17+ exit-code : ' 1'
18+ ignore-unfixed : true
19+ vuln-type : ' os,library'
20+ severity : ' CRITICAL,HIGH'
You can’t perform that action at this time.
0 commit comments