From c5846a3a0290e94bff12b4eee94fa9e495c55bcc Mon Sep 17 00:00:00 2001 From: Logan Nguyen Date: Thu, 3 Oct 2024 12:15:10 -0500 Subject: [PATCH] Update release-automation.yml Signed-off-by: Logan Nguyen --- .github/workflows/release-automation.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release-automation.yml b/.github/workflows/release-automation.yml index c5afe0f3d..d1cc93cee 100644 --- a/.github/workflows/release-automation.yml +++ b/.github/workflows/release-automation.yml @@ -67,6 +67,7 @@ jobs: - name: Create and Switch to Release Branch run: | + git fetch origin if ! git ls-remote --exit-code --heads --quiet origin refs/heads/${RELEASE_BRANCH}; then git checkout -b ${RELEASE_BRANCH} git push -u origin ${RELEASE_BRANCH}