From 50f5213a9475ddde3431b603116b48ec7c2d31a3 Mon Sep 17 00:00:00 2001 From: Claudia Comito <39374113+ClaudiaComito@users.noreply.github.com> Date: Wed, 22 Nov 2023 13:31:15 +0100 Subject: [PATCH] debug pointer to main branch --- .github/workflows/merge-release-changes-to-main.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/merge-release-changes-to-main.yml b/.github/workflows/merge-release-changes-to-main.yml index 7406ad8a89..f255045a48 100644 --- a/.github/workflows/merge-release-changes-to-main.yml +++ b/.github/workflows/merge-release-changes-to-main.yml @@ -7,7 +7,7 @@ env: starting_branch: ${{ github.ref }} working_branch: workflows/merge-release-changes-to-main # set base branch to main - base_branch: origin/main + base_branch: main permissions: contents: write issues: write @@ -27,8 +27,9 @@ jobs: ref: '${{ env.starting_branch }}' - name: Create working branch run: | + git fetch origin ${{ env.base_branch }} git checkout -b ${{ env.working_branch }} ${{ env.starting_branch }} - git pull ${{ env.base_branch }} heat/core/version.py + git checkout ${{ env.base_branch }} heat/core/version.py git push --set-upstream origin ${{ env.working_branch }} - name: Create a pull request uses: peter-evans/create-pull-request@v5