fix(ci): replace checkout action with native git commands
DevSecOps Pipeline - V1 Infrastructure / System & Environment Check (push) Successful in 0s Details
DevSecOps Pipeline - V1 Infrastructure / Secret Detection (Gitleaks) (push) Failing after 0s Details

Bypass Node.js requirement in host execution mode by using system git.
This commit is contained in:
Marc Lasserre 2026-08-06 23:20:20 +02:00
parent fae7df9d30
commit 97df70a53f
Signed by: M7s
GPG Key ID: F74837410959661B
1 changed files with 5 additions and 4 deletions

View File

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