Skip to content

Commit 7cdba9e

Browse files
committed
Refine body output
1 parent fc7000a commit 7cdba9e

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.github/workflows/on-pr-closed.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,10 @@ jobs:
2727
run: |
2828
echo "PR Number: ${{ github.event.pull_request.number }}"
2929
echo "PR URL: ${{ github.event.pull_request.html_url }}"
30-
echo "PR Body"
31-
echo "${{ github.event.pull_request.body }}"
30+
cat <<EOF
31+
PR Body:
32+
${{ github.event.pull_request.body }}
33+
EOF
3234
- name: Determine issue number
3335
id: get_issue_number
3436
uses: koppor/ticket-check-action@add-output

.github/workflows/on-pr-opened-updated.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,10 @@ jobs:
2828
run: |
2929
echo "PR Number: ${{ github.event.pull_request.number }}"
3030
echo "PR URL: ${{ github.event.pull_request.html_url }}"
31-
echo "PR Body"
32-
echo "${{ github.event.pull_request.body }}"
31+
cat <<EOF
32+
PR Body:
33+
${{ github.event.pull_request.body }}
34+
EOF
3335
- name: Determine issue number
3436
id: get_issue_number
3537
uses: koppor/ticket-check-action@add-output

0 commit comments

Comments
 (0)