From aa8fc82494a1540646919c89d125067e629ee648 Mon Sep 17 00:00:00 2001 From: SeoGeonhyuk <60954160+SeoGeonhyuk@users.noreply.github.com> Date: Tue, 19 Nov 2024 19:14:39 +0900 Subject: [PATCH] Update check-open-prs.yml --- .github/workflows/check-open-prs.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) 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: 리뷰를 부탁드립니다!"