From 472040d38d610778f6618e06c804fdb624889d3e Mon Sep 17 00:00:00 2001 From: Pavel Kotelevsky <38818382+chillleader@users.noreply.github.com> Date: Tue, 10 Oct 2023 08:37:17 +0200 Subject: [PATCH] build: push release branch before creating a PR (#1260) --- .github/workflows/CREATE_RELEASE_BRANCH.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/CREATE_RELEASE_BRANCH.yml b/.github/workflows/CREATE_RELEASE_BRANCH.yml index 962804709f..4b95f9b5a9 100644 --- a/.github/workflows/CREATE_RELEASE_BRANCH.yml +++ b/.github/workflows/CREATE_RELEASE_BRANCH.yml @@ -39,11 +39,12 @@ jobs: git config user.name "github-actions[bot]" git config user.email "41898282+github-actions[bot]@users.noreply.github.com" - - name: Create branch and set release version + - name: Create branch id: create-branch run: | MINOR_VERSION=${RELEASE_VERSION%.*} git checkout -b release/${MINOR_VERSION} + git push --set-upstream origin release/${MINOR_VERSION} echo "branchName=release/${RELEASE_VERSION%.*}" >> $GITHUB_OUTPUT env: RELEASE_VERSION: ${{ github.event.inputs.version }}