ci: Trivy gate and gitleaks block the release (phase 2), gitleaks v3
build / build (push) Successful in 17m32s
build / build (push) Successful in 17m32s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
50eadc683e
commit
28f514728f
1 file changed
+4
-4
@@ -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
|
||||
|
||||
Reference in new issue
Block a user