chore: update Trivy scan config (#7934)

pull/7929/head
Joe Chen 2025-03-04 23:07:09 -05:00 committed by GitHub
parent 46a84fdad5
commit 2208f17e8e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

View File

@ -5,6 +5,7 @@ on:
- main
pull_request:
paths:
- '.trivy.yaml'
- 'Dockerfile'
- 'docker/**'
- '.github/workflows/docker.yml'

View File

@ -1,7 +1,7 @@
scan:
skip-files:
# CVE patching of the following things is far behind and out of our control.
- "usr/sbin/gosu"
- "usr/sbin/gosu" # CVE patching is far behind and out of our control.
- "app/gogs/gogs" # False positives on main builds
severity:
- CRITICAL