From fad355e61749695d53fa984f5f21e52335f0953e 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:39:27 +0000 Subject: [PATCH] =?UTF-8?q?ci:=20=EC=A1=B0=EA=B1=B4=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/backend_pr_decorator.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/backend_pr_decorator.yml b/.github/workflows/backend_pr_decorator.yml index 372637f81..b1360b803 100644 --- a/.github/workflows/backend_pr_decorator.yml +++ b/.github/workflows/backend_pr_decorator.yml @@ -16,7 +16,7 @@ jobs: - uses: actions/checkout@v3 - name: set author slack id - if: always() + if: github.event_name == 'pull_request' && github.event.action == 'synchronize' id: author-slack run: | GIT_ID=${{ github.event.pull_request.user.login }} @@ -83,7 +83,7 @@ jobs: ./gradlew jacocoTestCoverage - name: slack notification - if: success() + if: github.event_name == 'pull_request' && github.event.action == 'synchronize' run: | SLACK_MESSAGE='{"text":"PR 브랜치 분석","blocks":[{"type":"section","text":{"type":"mrkdwn","text":">*PR 브랜치 분석* \n>\n>*PR Author*\n>' SLACK_MESSAGE+="<@"