Skip to content

Commit 957c7c0

Browse files
committed
Fix quoting
1 parent a5f82d6 commit 957c7c0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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

+4-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,10 @@ jobs:
2525
- name: Set message
2626
id: set_message
2727
run: >
28-
echo "message=$(echo '${{format('👉 {0} requested your review in: {1}', github.event.sender.login, github.event.pull_request.title)}}'| jq -R .)" >> $GITHUB_OUTPUT
28+
str=$(cat <<GHEOF
29+
${{format('👉 {0} requested your review in: {1}', github.event.sender.login, github.event.pull_request.title)}}
30+
GHEOF)
31+
printf 'message=%s\n' "$(echo $str|jq -R .)" >> $GITHUB_OUTPUT
2932
3033
- name: Notify of review request
3134
uses: slackapi/[email protected]

0 commit comments

Comments
 (0)