Skip to content

Commit

Permalink
Merge pull request #260 from ZettaScaleLabs/fix-merge-release-workflow
Browse files Browse the repository at this point in the history
fix: fix merge-release-branch outputs
  • Loading branch information
Mallets authored Jan 17, 2025
2 parents 3799207 + 67546d2 commit 611b9a6
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 611b9a6

Please sign in to comment.