From 0942dbd85a7dd2b7b517189ee2b4eab851320b31 Mon Sep 17 00:00:00 2001 From: Lukasz Karlowski Date: Sat, 27 Jul 2024 00:59:14 +0200 Subject: [PATCH] escape --- .github/workflows/generate_default_project_reusable.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/generate_default_project_reusable.yaml b/.github/workflows/generate_default_project_reusable.yaml index 2ce5ed6..4e8ea23 100644 --- a/.github/workflows/generate_default_project_reusable.yaml +++ b/.github/workflows/generate_default_project_reusable.yaml @@ -45,8 +45,10 @@ jobs: run: cookiecutter . --no-input --config-file ${{ inputs.cookiecutter-profile }} - name: Remote checkout + env: + protocol: 'https://oauth2:' run: | - git clone "https://oauth2:${{ secrets.repo-token }}@/${{ inputs.repo-path }}" ds-default-repo + git clone ${{ env.protocol }}${{ secrets.repo-token }}@/${{ inputs.repo-path }}" ds-default-repo cp -r ds-default/. ds-default-repo - name: Set safe directory