Skip to content

Commit

Permalink
chore: Fix CI action
Browse files Browse the repository at this point in the history
  • Loading branch information
jinsu4755 committed Sep 20, 2023
1 parent 674d625 commit f05489b
Showing 1 changed file with 34 additions and 34 deletions.
68 changes: 34 additions & 34 deletions .github/workflows/pr_ci_checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,37 +28,37 @@ jobs:
files: build/test-results/**/*.xml


# result-success:
# needs:
# - ci
# if: success()
# runs-on: ubuntu-latest
# steps:
# - name: On Success!! Congratulations
# uses: rtCamp/action-slack-notify@v2
# env:
# SLACK_COLOR: '#53A551'
# SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }}
# SLACK_TITLE: 'Uni/PR Check S.U.C.C.E.S.S 🎉🎉🎉'
# SLACK_ICON: ${{ github.event.org.avatar_url }}
# MSG_MINIMAL: event,actions url, commit
# SLACK_USERNAME: Uni-server
# SLACK_MESSAGE: '${{ github.server_url }}/${{ github.repository }}/pull/${{ github.event.number}}'
#
# result-failure:
# needs:
# - ci
# if: failure()
# runs-on: ubuntu-latest
# steps:
# - name: On Failed, Notify in Slack
# if: ${{ failure() }}
# uses: rtCamp/action-slack-notify@v2
# env:
# SLACK_COLOR: '#ff0000'
# SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }}
# SLACK_TITLE: 'Uni/Server Debug build Fail❌ 에러를 확인해주세요'
# SLACK_ICON: ${{ github.event.org.avatar_url }}
# MSG_MINIMAL: event,actions url, commit
# SLACK_USERNAME: Uni-server
# SLACK_MESSAGE: '${{ github.server_url }}/${{ github.repository }}/pull/${{ github.event.number}}'
result-success:
needs:
- ci
if: success()
runs-on: ubuntu-latest
steps:
- name: On Success!! Congratulations
uses: rtCamp/action-slack-notify@v2
env:
SLACK_COLOR: '#53A551'
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }}
SLACK_TITLE: 'Uni/PR Check S.U.C.C.E.S.S 🎉🎉🎉'
SLACK_ICON: ${{ github.event.org.avatar_url }}
MSG_MINIMAL: event,actions url, commit
SLACK_USERNAME: Uni-server
SLACK_MESSAGE: '${{ github.server_url }}/${{ github.repository }}/pull/${{ github.event.number}}'

result-failure:
needs:
- ci
if: failure()
runs-on: ubuntu-latest
steps:
- name: On Failed, Notify in Slack
if: ${{ failure() }}
uses: rtCamp/action-slack-notify@v2
env:
SLACK_COLOR: '#ff0000'
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK_URL }}
SLACK_TITLE: 'Uni/Server Debug build Fail❌ 에러를 확인해주세요'
SLACK_ICON: ${{ github.event.org.avatar_url }}
MSG_MINIMAL: event,actions url, commit
SLACK_USERNAME: Uni-server
SLACK_MESSAGE: '${{ github.server_url }}/${{ github.repository }}/pull/${{ github.event.number}}'

0 comments on commit f05489b

Please sign in to comment.