Skip to content

Commit e96a835

Browse files
Update generate-newsletter.yml
1 parent 4dc25f8 commit e96a835

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/generate-newsletter.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,11 @@ jobs:
2424
run: |
2525
body="${{ github.event.issue.body }}"
2626
27-
echo "Raw issue body:"
27+
echo "RAW ISSUE BODY START"
2828
echo "$body"
29+
echo "RAW ISSUE BODY END"
2930

31+
# Use awk to find the lines after each heading
3032
month=$(echo "$body" | awk '/### Newsletter Month/ {getline; print}' | xargs)
3133
year=$(echo "$body" | awk '/### Newsletter Year/ {getline; print}' | xargs)
3234

0 commit comments

Comments
 (0)