Skip to content

Commit

Permalink
fix: fix merge-release-branch outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
diogomatsubara committed Jan 17, 2025
1 parent cec668c commit 67546d2
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/merge-release-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,18 @@ jobs:
- name: Create PR
id: cpr
run: >
gh pr create
pr_url=$(gh pr create
--title "chore: Merge release/${{ inputs.version }} into main"
"- Merge release/${{ inputs.version }} into main\n- Open new development line"
--head release/${{ inputs.version }}
--base main
--label internal
-R ${{ inputs.repo }}
-R ${{ inputs.repo }})
if [[ $? == 0 ]];
echo "pull-request-operation=created" >> $GITHUB_OUTPUT
pr_number="${pr_url##*/pull/}"
echo "pull-request-number=$pr_number" >> $GITHUB_OUTPUT
fi
env:
GH_TOKEN: ${{ secrets.BOT_TOKEN_WORKFLOW }}

Expand Down

0 comments on commit 67546d2

Please sign in to comment.