Skip to content

Commit c0994cc

Browse files
committed
Fix the condition
1 parent 31f3a94 commit c0994cc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/boot-tests-nightly.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ jobs:
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

0 commit comments

Comments
 (0)