Skip to content

Commit 5ae5810

Browse files
Update generate-newsletter.yml
1 parent cb73446 commit 5ae5810

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/generate-newsletter.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ jobs:
1313
- name: Checkout repository
1414
uses: actions/checkout@v3
1515

16+
- name: Print raw issue body
17+
run: |
18+
echo "--------- GITHUB.EVENT.ISSUE.BODY ---------"
19+
echo "${{ github.event.issue.body }}"
20+
echo "-------------------------------------------"
21+
1622
- name: Extract values from issue body
1723
id: vars
1824
run: |
@@ -76,9 +82,5 @@ jobs:
7682
env:
7783
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7884
run: |
79-
gh issue comment ${{ github.event.issue.number }} --body "Draft file created for **${{ steps.vars.outputs.month }} ${{ steps.vars.outputs.year }}** at \`${{ steps.vars.outputs.filename }}\` in branch \`${{ steps.vars.outputs.branch }}\`.
85+
gh issue comment ${{ github.event.issue.number }} --body "Draft file created for **${{ steps.vars.outputs.month }} ${{ steps.vars.outputs.year }}** at \`${{ steps.vars.outputs.filename }}\` in branch \`${{ steps.vars.outputs.branch }}\`.\n\nYou can now:\n1. Open the branch in VS Code using GitFlow (\`feature/newsletter-${{ steps.vars.outputs.year }}-${{ steps.vars.outputs.month_num }}\`)\n2. Edit and review the draft\n3. Open a PR into \`develop\` when ready"
8086
81-
You can now:
82-
1. Open the branch in VS Code using GitFlow (\`feature/newsletter-${{ steps.vars.outputs.year }}-${{ steps.vars.outputs.month_num }}\`)
83-
2. Edit and review the draft
84-
3. Open a PR into \`develop\` when ready"

0 commit comments

Comments
 (0)