From e1c4268944011ca7e66fbbb3d412acec28263fb3 Mon Sep 17 00:00:00 2001 From: "kihwan.song" Date: Wed, 29 Apr 2026 10:26:08 +0900 Subject: [PATCH] =?UTF-8?q?=EC=8A=AC=EB=9E=99=20=EC=8A=A4=ED=81=AC?= =?UTF-8?q?=EB=A6=BD=ED=8A=B8=20=EB=A9=94=EC=84=B8=EC=A7=80=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- notify-slack/action.yml | 24 +++++++++--------------- 1 file changed, 9 insertions(+), 15 deletions(-) diff --git a/notify-slack/action.yml b/notify-slack/action.yml index e59bac9..54219c2 100644 --- a/notify-slack/action.yml +++ b/notify-slack/action.yml @@ -31,26 +31,20 @@ runs: HEADER_TEXT="πŸš€ 배포 μ‹œμž‘ β€” ${REPO}" PAYLOAD=$(jq -n \ - --arg header "$HEADER_TEXT" \ + --arg repo "$REPO" \ --arg branch "$BRANCH" \ - --arg sha "$SHORT_SHA" \ - --arg actor "$ACTOR" \ --arg msg "$COMMIT_MSG" \ + --arg actor "$ACTOR" \ --arg sturl "$STATUS_URL" \ '{ - text: $header, + text: ("πŸš€ " + $repo + " 배포 μ‹œμž‘"), blocks: [ - {type:"header", text:{type:"plain_text", text:$header, emoji:true}}, - {type:"section", fields:[ - {type:"mrkdwn", text:("*브랜치*\n`" + $branch + "`")}, - {type:"mrkdwn", text:("*컀밋*\n`" + $sha + "` " + $msg)}, - {type:"mrkdwn", text:("*μ‹€ν–‰μž*\n" + $actor)} - ]}, - {type:"actions", elements:[ - {type:"button", - text:{type:"plain_text", text:"πŸ“Š 배포 μƒνƒœ 보기", emoji:true}, - url:$sturl, - style:"primary"} + {type:"section", text:{type:"mrkdwn", + text: ("πŸš€ *" + $repo + "* 배포 μ‹œμž‘")}}, + {type:"divider"}, + {type:"context", elements:[ + {type:"mrkdwn", + text: ($branch + " Β· " + $msg + " Β· " + $actor + " <" + $sturl + "|μƒνƒœ 보기 β†’>")} ]} ] }')