From 28f514728fe22810fd16e0597e584b038facc57e Mon Sep 17 00:00:00 2001 From: TeTeHacko Date: Sun, 25 Oct 2026 19:40:41 +0100 Subject: [PATCH] ci: Trivy gate and gitleaks block the release (phase 2), gitleaks v3 Co-Authored-By: Claude Opus 5.5 --- .gitea/workflows/build.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 08743592..04fbcca8 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -72,9 +72,9 @@ jobs: # redacted output) and misconfigurations in Dockerfiles/compose # (trivy config, report only). - name: gitleaks - uses: https://git.rfa.cz/tth-pub/ci-actions/gitleaks@v2 + uses: https://git.rfa.cz/tth-pub/ci-actions/gitleaks@v3 with: - mode: warn + mode: block - name: Trivy config uses: https://git.rfa.cz/tth-pub/ci-actions/trivy-gate@v2 @@ -112,14 +112,14 @@ jobs: # locks) or a secret in the tree = no APK, no release. Accepted risks # with a reason and expiry in .trivyignore.yaml. No Docker in this # container, so the action runs its checksum-verified Trivy binary. - # mode: warn = phase 1 (report only), block = phase 2. + # mode: block since 2026-10-25 (phase 2). - name: Trivy gate id: trivy if: steps.rel.outputs.needed == 'true' uses: https://git.rfa.cz/tth-pub/ci-actions/trivy-gate@v2 with: scan-type: fs - mode: warn + mode: block skip: ${{ inputs.skip_trivy && 'true' || 'false' }} - name: Build signed APK