fix: single-line git clone for gitleaks container
Some checks failed
CI / secrets (push) Failing after 4s
CI / lint (push) Successful in 13s
CI / test (push) Successful in 30s
CI / build (push) Has been skipped

Multiline run with backslash continuation gets corrupted inside
the gitleaks container. Collapse to single line.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
user
2026-02-22 07:12:11 +01:00
parent 900813fc20
commit 875997aa45

View File

@@ -47,9 +47,7 @@ jobs:
options: --entrypoint ""
steps:
- name: Checkout
run: |
git clone --branch "${GITHUB_REF_NAME}" \
"https://oauth2:${{ github.token }}@${GITHUB_SERVER_URL#https://}/${GITHUB_REPOSITORY}.git" .
run: git clone --branch "${GITHUB_REF_NAME}" "https://oauth2:${{ github.token }}@${GITHUB_SERVER_URL#https://}/${GITHUB_REPOSITORY}.git" .
- name: Scan for secrets
run: gitleaks detect --source . -v