Fix checkout in jobs without git (export-ignore); prune quiet feature branches after 30 days

This commit is contained in:
Matthijs Iriks committed 2026-12-04 01:53:20 +01:00
1 parent 86ecde31ea
commit eb93e890d6
9 files changed
+159 -3

No files matched your search

+3 -1
View File
@@ -116,12 +116,14 @@ jobs:
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).
release-automerge:
runs-on: docker
needs: pr-ci
if: startsWith(github.base_ref, 'release/') && needs.pr-ci.result == 'success'
container:
image: python:3.12-alpine
image: webdevops/php:8.4
steps:
- name: checkout
uses: actions/checkout@v4