fix so he can find the bash scripts
Some checks failed
Check Deleted Workflows / check-deleted-workflows (pull_request) Failing after 45s
Some checks failed
Check Deleted Workflows / check-deleted-workflows (pull_request) Failing after 45s
This commit is contained in:
@@ -39,7 +39,9 @@ jobs:
|
|||||||
|
|
||||||
rm -rf "${REPO_DIR}"
|
rm -rf "${REPO_DIR}"
|
||||||
AUTH_HEADER="$(printf '%s:%s' "${CLONE_USER}" "${CLONE_PASS}" | base64 | tr -d '\n')"
|
AUTH_HEADER="$(printf '%s:%s' "${CLONE_USER}" "${CLONE_PASS}" | base64 | tr -d '\n')"
|
||||||
|
HEAD_BRANCH="${GITHUB_HEAD_REF:-${GITHUB_REF_NAME:-develop}}"
|
||||||
git clone \
|
git clone \
|
||||||
|
--branch "${HEAD_BRANCH}" \
|
||||||
-c "http.extraHeader=Authorization: Basic ${AUTH_HEADER}" \
|
-c "http.extraHeader=Authorization: Basic ${AUTH_HEADER}" \
|
||||||
"${REPO_CLONE_URL}" \
|
"${REPO_CLONE_URL}" \
|
||||||
"${REPO_DIR}"
|
"${REPO_DIR}"
|
||||||
|
|||||||
Reference in New Issue
Block a user