Skip to content

Commit ab5d65b

Browse files
Update generate-newsletter.yml
1 parent 3a09732 commit ab5d65b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/generate-newsletter.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,12 @@ jobs:
5555
env:
5656
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5757
run: |
58-
gh issue comment ${{ github.event.issue.number }} \
59-
--body "✅ Draft file created for **${{ steps.vars.outputs.month }} ${{ steps.vars.outputs.year }}** at \`${{ steps.vars.outputs.filename }}\` in branch \`${{ steps.vars.outputs.branch }}\`.
58+
gh issue comment ${{ github.event.issue.number }} --body "$(cat <<EOF
59+
✅ Draft file created for **${{ steps.vars.outputs.month }} ${{ steps.vars.outputs.year }}** at \`${{ steps.vars.outputs.filename }}\` in branch \`${{ steps.vars.outputs.branch }}\`.
6060

6161
You can now:
6262
1. Open the branch in VS Code using GitFlow (`feature/newsletter-${{ steps.vars.outputs.year }}-${{ steps.vars.outputs.month_num }}`)
6363
2. Edit and review the draft
6464
3. Open a PR into \`develop\` when ready
65-
"
65+
EOF
66+
)"

0 commit comments

Comments
 (0)