diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index b1e083db..d335bc66 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -68,6 +68,21 @@ jobs: id: merge run: bash .gitea/upstream-sync.sh merge + # Secrets in the commits of this push (gitleaks, first-parent only, + # redacted output) and misconfigurations in Dockerfiles/compose + # (trivy config, report only). + - name: gitleaks + uses: https://git.rfa.cz/tth-pub/ci-actions/gitleaks@v1.2 + with: + mode: warn + + - name: Trivy config + uses: https://git.rfa.cz/tth-pub/ci-actions/trivy-gate@v1.2.2 + with: + scan-type: fs + scanners: misconfig + mode: warn + - name: Release needed? id: rel env: @@ -101,7 +116,7 @@ jobs: - name: Trivy gate id: trivy if: steps.rel.outputs.needed == 'true' - uses: https://git.rfa.cz/tth-pub/ci-actions/trivy-gate@v1.1 + uses: https://git.rfa.cz/tth-pub/ci-actions/trivy-gate@v1.2 with: scan-type: fs mode: warn @@ -183,7 +198,7 @@ jobs: # scan; a DT outage (or a missing key) does not fail the release. - name: SBOM to Dependency-Track if: steps.rel.outputs.needed == 'true' - uses: https://git.rfa.cz/tth-pub/ci-actions/dtrack-sbom@v1.1 + uses: https://git.rfa.cz/tth-pub/ci-actions/dtrack-sbom@v1.2 with: report: ${{ steps.trivy.outputs.report }} url: https://dtrack.grg