Skip to content

Commit 0294dda

Browse files
authored
Merge pull request #1 from NomicFoundation/quote-here-doc
Use quotes in here doc marker
2 parents 6ee853d + da7bf92 commit 0294dda

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

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

+3-2
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,10 @@ 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)}}
30-
GHEOF)
30+
GHEOF
31+
)
3132
printf 'message=%s\n' "$(echo $str| jq -R .)" >> $GITHUB_OUTPUT
3233
3334
- name: Notify of review request

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

+3-2
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,10 @@ 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)}}
32-
GHEOF)
32+
GHEOF
33+
)
3334
printf 'message=%s\n' "$(echo $str| jq -R .)" >> $GITHUB_OUTPUT
3435
3536
- name: Notify of review

0 commit comments

Comments
 (0)