Skip to content

Commit

Permalink
fix: print PR branch name in titlecase
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenHulme committed Oct 28, 2024
1 parent 464afa6 commit da0c736
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/create-release-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
MAIN_BRANCH_NAME: ${{ env.MAIN_BRANCH_NAME }}
GH_TOKEN: ${{ github.token }} # required for gh cli
run: |
PR_TITLE="[automated] Merge Develop into $MAIN_BRANCH_NAME"
PR_TITLE="[automated] Merge Develop into ${MAIN_BRANCH_NAME^}"
PR_BODY="#### Changes proposed in this pull request
$(echo "$STORIES")
Expand All @@ -73,5 +73,5 @@ jobs:
if [ -z "$EXISTING_PR" ]; then
gh pr create --base "$MAIN_BRANCH_NAME" --head test-develop --title "$PR_TITLE" --body "$PR_BODY" --draft
else
gh pr edit "$EXISTING_PR" --body "$PR_BODY"
gh pr edit "$EXISTING_PR" --title "$PR_TITLE" --body "$PR_BODY"
fi

0 comments on commit da0c736

Please sign in to comment.