File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9999
100100 - name : Notify Slack on success
101101 uses : slackapi/slack-github-action@v2.1.1
102- if : github.event_name != 'workflow_dispatch' && steps.playwright-tests.result == 'success'
102+ if : github.event_name != 'workflow_dispatch' && steps.playwright-tests.outcome == 'success'
103103 with :
104104 webhook : ${{ secrets.SLACK_WEBHOOK_URL }}
105105 webhook-type : incoming-webhook
@@ -123,7 +123,7 @@ jobs:
123123
124124 - name : Notify Slack on failure
125125 uses : slackapi/slack-github-action@v2.1.1
126- if : github.event_name != 'workflow_dispatch' && steps.playwright-tests.result != 'success'
126+ if : github.event_name != 'workflow_dispatch' && steps.playwright-tests.outcome != 'success'
127127 with :
128128 webhook : ${{ secrets.SLACK_WEBHOOK_URL }}
129129 webhook-type : incoming-webhook
You can’t perform that action at this time.
0 commit comments