From e74a315c4d3c4d618c15000ee10d9622297c9305 Mon Sep 17 00:00:00 2001 From: Nikola Milosavljevic <73236646+NikolaMilosa@users.noreply.github.com> Date: Thu, 29 Aug 2024 08:51:23 +0200 Subject: [PATCH] fix(ci): wrong variable (#822) --- .github/workflows/qualify.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/qualify.yaml b/.github/workflows/qualify.yaml index 60d99a3d3..0224a6724 100644 --- a/.github/workflows/qualify.yaml +++ b/.github/workflows/qualify.yaml @@ -155,12 +155,12 @@ jobs: BRANCH_REF=$(git ls-remote --heads https://github.com/dfinity/dre.git refs/heads/${AUTO_UPDATE_BRANCH}) if [ -z "$BRANCH_REF" ]; then - echo "Branch $BRANCH_REF does not exist, creating..." - git checkout -b $BRANCH_REF + echo "Branch $AUTO_UPDATE_BRANCH does not exist, creating..." + git checkout -b $AUTO_UPDATE_BRANCH echo "SHOULD_CREATE_PR=true" >> $GITHUB_OUTPUT else - echo "Branch $BRANCH_REF exists" - git checkout $BRANCH_REF + echo "Branch $AUTO_UPDATE_BRANCH exists" + git checkout $AUTO_UPDATE_BRANCH echo "SHOULD_CREATE_PR=false" >> $GITHUB_OUTPUT fi