From 18471c1de35bab6c1c3559925f2f75a2723f115a Mon Sep 17 00:00:00 2001 From: pawelirh Date: Wed, 1 May 2024 14:45:45 +0000 Subject: [PATCH] Rename steps --- .github/workflows/release-repository.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release-repository.yaml b/.github/workflows/release-repository.yaml index f451f12..3a33e2f 100644 --- a/.github/workflows/release-repository.yaml +++ b/.github/workflows/release-repository.yaml @@ -64,7 +64,7 @@ jobs: with: ref: ${{ env.MAIN_BRANCH }} - - name: Create pull request to main branch + - name: Create pull request to main if: ${{ github.event.inputs.target_branch != env.MAIN_BRANCH && fromJSON(github.event.inputs.automatic_mode) == true }} run: | gh pr create \ @@ -73,7 +73,7 @@ jobs: --title "Release ${{ steps.create_release_candidate.outputs.version}} to ${{ env.MAIN_BRANCH }}" \ --body "This PR incorporates package(s) version and changelog update." - - name: Merge pull request + - name: Merge pull request to main if: ${{ github.event.inputs.target_branch != env.MAIN_BRANCH && fromJSON(github.event.inputs.automatic_mode) == true }} run: | gh pr merge ${{ github.event.inputs.target_branch }} \