Skip to content

Commit

Permalink
Fix formatting of the PR description
Browse files Browse the repository at this point in the history
  • Loading branch information
NullVoxPopuli committed May 22, 2023
1 parent 75c97b7 commit 5ed994a
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/release-plan-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@ jobs:
node ./test-packages/release/src/cli.js prepare
# Don't print this, because it can be very large
set +x
echo "text=$( echo $plan )" >> $GITHUB_OUTPUT
# Have to use this EOF syntax for multi-line strings.
echo 'text<<EOF' >> $GITHUB_OUTPUT
echo "$plan" >> $GITHUB_OUTPUT
echo 'EOF' >> $GITHUB_OUTPUT
env:
GITHUB_AUTH: ${{ secrets.GITHUB_TOKEN }}

Expand All @@ -47,4 +50,11 @@ jobs:
draft: true
branch: ${{ env.branch }}
title: ${{ env.title }}
body: ${{ steps.explanation.outputs.text }}
body: |
Preview of the Release.
See `.github/workflows/release-plan-preview.yml` for how this PR was created.
-----------------------------------------
${{ steps.explanation.outputs.text }}

0 comments on commit 5ed994a

Please sign in to comment.