Skip to content

Commit

Permalink
成功時の Slack 通知を止める
Browse files Browse the repository at this point in the history
  • Loading branch information
voluntas committed Jan 7, 2025
1 parent 26e578b commit 34e42aa
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,19 +102,19 @@ jobs:
- run: uv sync
- run: uv run pytest -s

slack_notify_succeeded:
needs: [e2e_test_ubuntu, e2e_test_macos, e2e_test_windows]
runs-on: ubuntu-24.04
if: success()
steps:
- name: Slack Notification
uses: rtCamp/action-slack-notify@v2
env:
SLACK_CHANNEL: sora-python-sdk
SLACK_COLOR: good
SLACK_TITLE: SUCCEEDED
SLACK_ICON_EMOJI: ":star-struck:"
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
# slack_notify_succeeded:
# needs: [e2e_test_ubuntu, e2e_test_macos, e2e_test_windows]
# runs-on: ubuntu-24.04
# if: success()
# steps:
# - name: Slack Notification
# uses: rtCamp/action-slack-notify@v2
# env:
# SLACK_CHANNEL: sora-python-sdk
# SLACK_COLOR: good
# SLACK_TITLE: SUCCEEDED
# SLACK_ICON_EMOJI: ":star-struck:"
# SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}

slack_notify_failed:
needs: [e2e_test_ubuntu, e2e_test_macos, e2e_test_windows]
Expand Down
2 changes: 2 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@

- [CHANGE] GitHub Actions の ubuntu-latest を ubuntu-24.04 に変更
- @voluntas
- [CHANGE] E2E テスト成功時に slack 通知をしないようにする
- @voluntas

0 comments on commit 34e42aa

Please sign in to comment.