ci: run secret scan without nested bind mounts
ForgeFlow quality gate / quality (pull_request) Failing after 1m25s
Managed validation / full (pull_request) Failing after 23s
ForgeFlow quality gate / secret-scan (pull_request) Failing after 14s

This commit is contained in:
NuklearRabbit
2026-08-27 18:48:51 +02:00
parent d8ee5d605c
commit a4e006f455
+7 -4
View File
@@ -11,10 +11,13 @@ jobs:
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Secret scan - name: Secret scan
uses: trufflesecurity/trufflehog@v3.79.0 shell: bash
with: run: |
path: ./ set -euo pipefail
extra_args: --only-verified scan_container="$(docker create ghcr.io/trufflesecurity/trufflehog:3.79.0 filesystem /scan --only-verified --fail --no-update)"
trap 'docker rm -f "${scan_container}" >/dev/null 2>&1 || true' EXIT
tar --exclude=.git -cf - . | docker cp - "${scan_container}:/scan"
docker start -a "${scan_container}"
quality: quality:
# Browser quality runs against the dedicated bounded Windows 11 VM runner. # Browser quality runs against the dedicated bounded Windows 11 VM runner.