Skip to content

Commit

Permalink
[CI] Github Actions エラーを Slack に通知する
Browse files Browse the repository at this point in the history
  • Loading branch information
miosakuma committed Mar 27, 2024
1 parent 4b9ee1e commit 47057c0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,14 @@ jobs:
- name: Check uncommitted unformatted code
run: |
./lint-format.sh
- name: Slack Notification
if: failure()
uses: rtCamp/action-slack-notify@v2
env:
SLACK_CHANNEL: sora-ios-sdk
SLACK_COLOR: danger
SLACK_TITLE: Build failed
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
release:
if: contains(github.ref, 'tags/v')
needs: [build]
Expand Down

0 comments on commit 47057c0

Please sign in to comment.