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:
name: Secret Detection (Gitleaks)
runs-on: host
runs-on: ubuntu-latest
steps:
- name: Fetch Code
run: |
git config --global --add safe.directory "$PWD"
git fetch --all
git checkout $GITEA_SHA
- name: Check Out Code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Run Gitleaks Scan
run: |