mirror of https://github.com/gogs/gogs.git
chore: update Trivy scan config (#7934)
parent
46a84fdad5
commit
2208f17e8e
|
@ -5,6 +5,7 @@ on:
|
||||||
- main
|
- main
|
||||||
pull_request:
|
pull_request:
|
||||||
paths:
|
paths:
|
||||||
|
- '.trivy.yaml'
|
||||||
- 'Dockerfile'
|
- 'Dockerfile'
|
||||||
- 'docker/**'
|
- 'docker/**'
|
||||||
- '.github/workflows/docker.yml'
|
- '.github/workflows/docker.yml'
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
scan:
|
scan:
|
||||||
skip-files:
|
skip-files:
|
||||||
# CVE patching of the following things is far behind and out of our control.
|
- "usr/sbin/gosu" # CVE patching is far behind and out of our control.
|
||||||
- "usr/sbin/gosu"
|
- "app/gogs/gogs" # False positives on main builds
|
||||||
|
|
||||||
severity:
|
severity:
|
||||||
- CRITICAL
|
- CRITICAL
|
||||||
|
|
Loading…
Reference in New Issue