CI and release cycle: release branches, tag, Packagist, sync, tests, audit, Trivy

This commit is contained in:
Matthijs Iriks committed 2026-12-04 01:45:44 +01:00
1 parent f74ab3a94b
commit 302a1c699d
20 files changed
+1029 -9

No files matched your search

+32
View File
@@ -0,0 +1,32 @@
name: Scheduled checks
# What was released does not stay safe: new vulnerabilities are found in old dependencies. Every
# Monday the released code is checked again; a red run is the signal.
on:
schedule:
- cron: '30 5 * * 1'
workflow_dispatch:
jobs:
audit:
runs-on: docker
container:
image: webdevops/php:8.4
steps:
- name: checkout production
uses: actions/checkout@v4
with:
ref: production
- name: install dependencies
run: composer update --prefer-stable --prefer-dist --no-scripts
- name: composer audit
run: composer audit
- name: install trivy
run: .gitea/scripts/install-trivy.sh
- name: trivy
run: |
trivy fs --no-progress --scanners vuln,secret,misconfig --severity HIGH,CRITICAL --exit-code 1 --skip-dirs vendor .