Skip to content

Commit

Permalink
Update check-open-prs.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
SeoGeonhyuk authored Nov 19, 2024
1 parent 8c6a816 commit 0bb647b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/check-open-prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,12 @@ jobs:
title=$(echo "$pr" | grep -oP '"title":\s*"\K[^"]+')
url=$(echo "$pr" | grep -oP '"url":\s*"\K[^"]+')
# 메시지에 추가
message+="🔹 *<$url|$title>*\n"
# 메시지에 추가 (message에 한 줄씩 추가)
message+=$'\n'"🔹 *<$url|$title>*"
done
# Slack 메시지 푸터 추가
message+="\n:point_right: 리뷰를 부탁드립니다!"
message+=$'\n\n'" :point_right: 리뷰를 부탁드립니다!"
# Slack 메시지 확인 (디버깅)
echo "Message to Slack: $message"
Expand All @@ -76,3 +76,4 @@ jobs:
-H 'Content-type: application/json' \
--data "{\"text\":\"$message\", \"mrkdwn\": true}" \
$SLACK_WEBHOOK_URL

0 comments on commit 0bb647b

Please sign in to comment.