From 97df70a53f30e0acf5e11e8e31f2b7b7cc8163e9 Mon Sep 17 00:00:00 2001 From: Marc Lasserre Date: Thu, 6 Aug 2026 23:20:20 +0200 Subject: [PATCH] fix(ci): replace checkout action with native git commands Bypass Node.js requirement in host execution mode by using system git. --- .gitea/workflows/test-ci.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/test-ci.yml b/.gitea/workflows/test-ci.yml index 3d9136e..1a580bc 100644 --- a/.gitea/workflows/test-ci.yml +++ b/.gitea/workflows/test-ci.yml @@ -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: |