ci: gitleaks on the pushed commits and trivy config (warn), shared actions v1.2
build / build (push) Failing after 2s
build / build (push) Failing after 2s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e754567c7b
commit
487fa1bf54
1 file changed
+17
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user