Skip to content

Commit

Permalink
fix slack notification (#9146)
Browse files Browse the repository at this point in the history
* fix slack notification

* removed unnecessary checks
  • Loading branch information
grahamlangford committed Sep 12, 2024
1 parent c5a2652 commit 58b8e49
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/e2e-test-pre-release-browsers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,10 @@ jobs:
slack-notification:
needs: end-to-end-tests
runs-on: ubuntu-latest
if: ${{ job.status == 'failure' }}
if: ${{ always() && (needs.end-to-end-tests.result == 'failure') }}
steps:
- name: Slack Notification
uses: rtCamp/action-slack-notify@v2
with:
status: ${{ job.status }}
notify_when: "failure"
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
SLACK_CHANNEL: playwright-playground
Expand Down

0 comments on commit 58b8e49

Please sign in to comment.