From 875997aa45001a54f964cfa50c134c02d5949e13 Mon Sep 17 00:00:00 2001 From: user Date: Sun, 22 Feb 2026 07:12:11 +0100 Subject: [PATCH] fix: single-line git clone for gitleaks container Multiline run with backslash continuation gets corrupted inside the gitleaks container. Collapse to single line. Co-Authored-By: Claude Opus 4.6 --- .gitea/workflows/ci.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 36d9e9c..9a79022 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -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