Take Trivy out of the PR jobs; composer audit stays, Trivy runs from the homelab

This commit is contained in:
Matthijs Iriks committed 2026-12-04 09:04:10 +01:00
1 parent 41d82a969a
commit bb1f4e1292
6 files changed
+4 -30

No files matched your search

-9
View File
@@ -151,15 +151,6 @@ jobs:
- name: composer audit
run: composer audit
- name: install trivy
run: .gitea/scripts/install-trivy.sh
# Fails on HIGH and CRITICAL. vendor/ is left out of the secret and settings scan (it is other
# people's code); the lock file made above is what the vulnerability scan reads.
- name: trivy
run: |
trivy fs --no-progress --scanners vuln,secret,misconfig --severity HIGH,CRITICAL --exit-code 1 --skip-dirs vendor .
# Pull requests to a release branch merge by themselves when the check below is green.
# Every job that checks out runs in an image with git: without git the checkout is the archive of the
# repository, which leaves out what .gitattributes export-ignores (.gitea/ with these scripts).