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 fad355e commit bc128cd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/backend_pr_decorator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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+="<@"
Expand All @@ -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'
Expand Down

0 comments on commit bc128cd

Please sign in to comment.