From bc128cd2955901116e844318b935d685906e9864 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=A0=9C=EC=9D=B4=EB=AF=B8?= <63184334+JJ503@users.noreply.github.com> Date: Thu, 9 Nov 2023 06:55:41 +0000 Subject: [PATCH] =?UTF-8?q?ci:=20=EC=A1=B0=EA=B1=B4=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/backend_pr_decorator.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/backend_pr_decorator.yml b/.github/workflows/backend_pr_decorator.yml index b1360b803..bbf9cb34a 100644 --- a/.github/workflows/backend_pr_decorator.yml +++ b/.github/workflows/backend_pr_decorator.yml @@ -40,6 +40,7 @@ jobs: - name: slack suggestion notification if: contains(github.event.pull_request.labels.*.name, 'suggestion') + id: slack-notification run: | SLACK_MESSAGE='{"text":"제안 PR","blocks":[{"type":"section","text":{"type":"mrkdwn","text":">*제안 PR* \n>\n>*PR Author*\n>' SLACK_MESSAGE+="<@" @@ -55,7 +56,7 @@ jobs: curl -X POST ${{ secrets.SLACK_WEBHOOK }} -d "${SLACK_MESSAGE}" - name: settings java - if: success() + if: steps.slack-notification.outcome == 'failure' uses: actions/setup-java@v3 with: java-version: '17'