diff --git a/.github/workflows/check-open-prs.yml b/.github/workflows/check-open-prs.yml index 5cc4a14b..92f11384 100644 --- a/.github/workflows/check-open-prs.yml +++ b/.github/workflows/check-open-prs.yml @@ -52,13 +52,8 @@ jobs: # Slack 메시지 작성 message=":rotating_light: *Review가 필요한 Pull Requests 목록*\n\n" - # PR 데이터 파싱 및 메시지 작성 - echo "$prs_json" | jq -r '"🔹 *<\(.url)|\(.title)>*\n" + - " • 리뷰어: \(.reviewRequests | map(.login) | join(", "))\n\n"' | while read -r line; do - message+="$line\n" - echo "wo" - echo $message - done + message+=$(echo "$prs_json" | jq -r '"🔹 *<\(.url)|\(.title)>*\n" + + " • 리뷰어: \(.reviewRequests | map(.login) | join(", "))\n\n"') # Slack 메시지 푸터 추가 message+=$'\n\n'" :point_right: 리뷰를 부탁드립니다!"