File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -308,7 +308,7 @@ jobs:
308308
309309 - name : ' Prepare Shop'
310310 id : prepare_shop
311- uses : ' OXID-eSales/github-actions/prepare_shop@v5 '
311+ uses : ' OXID-eSales/github-actions/prepare_shop@v0 '
312312 with :
313313 container_name : ${{ steps.iltp.outputs.install_container_name }}
314314 container_options : ${{ steps.iltp.outputs.install_container_options }}
@@ -343,8 +343,10 @@ jobs:
343343
344344 - name : ' Run composer for each module'
345345 shell : bash
346+ env :
347+ GH_TOKEN : ${{ github.token }}
346348 run : |
347- git clone --depth=1 --quiet --branch v2.0.0 https://github.com/joernott/load_testplan.git load_testplan
349+ git clone --depth=1 --quiet --branch v2.0.0 " https://x-access-token:${GH_TOKEN}@ github.com/joernott/load_testplan.git" load_testplan
348350 LOAD_TESTPLAN=$(find ./load_testplan -iname 'main-linux-amd64-*')
349351 chmod a+x "${LOAD_TESTPLAN}"
350352 PREFIXES=$(echo '${{steps.iltp.outputs.runscript_matrix_script}}'|tr ',' '\n'|tr -d '[]" '|sed -e 's|-|_|g' -e 's|:.*||'|sort|uniq)
Original file line number Diff line number Diff line change @@ -195,7 +195,12 @@ runs:
195195 REF='${{ inputs.git_sdk_ref }}'
196196 git init
197197 git config advice.detachedHead false
198- git remote add origin https://github.com/${{ inputs.git_sdk_repository }}.git
198+ if [ -n "${{ inputs.enterprise_github_token }}" ]; then
199+ URL="https://oxidci:${{ inputs.enterprise_github_token }}@github.com/${{ inputs.git_sdk_repository }}.git"
200+ else
201+ URL="https://github.com/${{ inputs.git_sdk_repository }}.git"
202+ fi
203+ git remote add origin "${URL}"
199204 git -c protocol.version=2 fetch \
200205 --no-tags --prune --no-recurse-submodules \
201206 --filter=blob:none --depth=1 \
You can’t perform that action at this time.
0 commit comments