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: |