fix(ci): use ubuntu-latest container for gitleaks scan
DevSecOps Pipeline - V1 Infrastructure / System & Environment Check (push) Successful in 0s Details
DevSecOps Pipeline - V1 Infrastructure / Secret Detection (Gitleaks) (push) Failing after 39s Details

Switch Gitleaks job to docker container execution to satisfy actions/checkout Node.js dependency.
This commit is contained in:
Marc Lasserre 2026-08-06 23:38:00 +02:00
parent 97df70a53f
commit 1330f04308
Signed by: M7s
GPG Key ID: F74837410959661B
1 changed files with 5 additions and 6 deletions

View File

@ -15,13 +15,12 @@ jobs:
gitleaks-scan: gitleaks-scan:
name: Secret Detection (Gitleaks) name: Secret Detection (Gitleaks)
runs-on: host runs-on: ubuntu-latest
steps: steps:
- name: Fetch Code - name: Check Out Code
run: | uses: actions/checkout@v3
git config --global --add safe.directory "$PWD" with:
git fetch --all fetch-depth: 0
git checkout $GITEA_SHA
- name: Run Gitleaks Scan - name: Run Gitleaks Scan
run: | run: |