Skip to content

Commit

Permalink
Rename steps
Browse files Browse the repository at this point in the history
  • Loading branch information
pawelirh committed May 1, 2024
1 parent 2df92ec commit 18471c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release-repository.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -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 }} \
Expand Down

0 comments on commit 18471c1

Please sign in to comment.