Skip to content

Commit

Permalink
e2e-test の slack 通知も減らす
Browse files Browse the repository at this point in the history
  • Loading branch information
voluntas committed Oct 15, 2024
1 parent 55d8cf9 commit 970815e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ jobs:
# name: playwright-report
# path: playwright-report/
# retention-days: 30

slack_notify_succeeded:
needs: [e2e-test]
runs-on: ubuntu-latest
if: success()
steps:
- name: Slack Notification
if: success()
uses: rtCamp/action-slack-notify@v2
Expand All @@ -54,6 +60,11 @@ jobs:
SLACK_TITLE: Succeeded
SLACK_ICON_EMOJI: ":star-struck:"
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
slack_notify_failed:
needs: [e2e-test]
runs-on: ubuntu-latest
if: failure()
steps:
- name: Slack Notification
if: failure()
uses: rtCamp/action-slack-notify@v2
Expand Down

0 comments on commit 970815e

Please sign in to comment.