Skip to content

Commit 986a839

Browse files
committed
Use quotes in here doc marker
1 parent 6ee853d commit 986a839

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/review-requested-slack-notification.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Set message
2626
id: set_message
2727
run: |
28-
str=$(cat <<GHEOF
28+
str=$(cat << 'GHEOF'
2929
${{format('👉 {0} requested your review in: {1}', github.event.sender.login, github.event.pull_request.title)}}
3030
GHEOF)
3131
printf 'message=%s\n' "$(echo $str| jq -R .)" >> $GITHUB_OUTPUT

.github/workflows/review-submitted-slack-notification.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Set message
2828
id: set_message
2929
run: |
30-
str=$(cat <<GHEOF
30+
str=$(cat << 'GHEOF'
3131
${{format('👈 {0} reviewed your pull request: {1}', github.event.review.user.login, github.event.pull_request.title)}}
3232
GHEOF)
3333
printf 'message=%s\n' "$(echo $str| jq -R .)" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)