diff --git a/.github/workflows/release-pr.yml b/.github/workflows/release-pr.yml index b1c092b..b82d309 100644 --- a/.github/workflows/release-pr.yml +++ b/.github/workflows/release-pr.yml @@ -38,8 +38,8 @@ jobs: - name: Create PR to release branch run: | PR_EXISTS=$(gh pr list --head main --base release --state open --json number --jq '.[].number') - merged_prs="${{ steps.merged_prs.outputs.merged_prs }}" - pr_body="The following PRs were merged since the last release:\n$merged_prs\n" + merged_prs=${{ steps.merged_prs.outputs.merged_prs }} + pr_body=$merged_prs" if [ -z "$PR_EXISTS" ]; then gh pr create --title "Merge main into release" --body "$pr_body" --base release --head main