Skip to content

Commit

Permalink
ci: 조건 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
JJ503 authored Nov 9, 2023
1 parent 86ce87d commit fad355e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/backend_pr_decorator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down Expand Up @@ -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+="<@"
Expand Down

0 comments on commit fad355e

Please sign in to comment.