From 4a41a4450335aa9a0ae2d844dcb6ac8a09396209 Mon Sep 17 00:00:00 2001 From: Luca Palmieri <20745048+LukeMathWalker@users.noreply.github.com> Date: Thu, 2 Feb 2023 12:01:43 +0000 Subject: [PATCH] Clarify what type of reference we are trying to push. --- .github/scripts/get-or-create-release-branch.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/scripts/get-or-create-release-branch.sh b/.github/scripts/get-or-create-release-branch.sh index a32c5afe60..f6dae73e0a 100755 --- a/.github/scripts/get-or-create-release-branch.sh +++ b/.github/scripts/get-or-create-release-branch.sh @@ -54,7 +54,7 @@ fi echo "release_branch=${branch_name}" >"${output_file}" if [[ "${DRY_RUN}" == "true" ]]; then - git push --force origin "HEAD:${branch_name}" + git push --force origin "HEAD:refs/heads/${branch_name}" else commit_sha=$(git rev-parse --short HEAD) if git ls-remote --exit-code --heads origin "${branch_name}"; then