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 - main
pull_request: pull_request:
paths: paths:
- '.trivy.yaml'
- 'Dockerfile' - 'Dockerfile'
- 'docker/**' - 'docker/**'
- '.github/workflows/docker.yml' - '.github/workflows/docker.yml'

View File

@ -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