Skip to content

Commit cb4130a

Browse files
authored
ci: post regression notifications if scheduled tests do not succeed (#1376)
1 parent 9fa6e86 commit cb4130a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ jobs:
8686
name: Regression notifications
8787
runs-on: ubuntu-latest
8888
needs: build
89-
if: failure() && github.ref == 'refs/heads/main' && github.event_name != 'workflow_dispatch'
89+
if: ${{ !success() && github.ref == 'refs/heads/main' && github.event_name != 'workflow_dispatch' }}
9090
steps:
9191
- name: Send notifications of failing tests
9292
uses: slackapi/slack-github-action@91efab103c0de0a537f72a35f6b8cda0ee76bf0a # v2.1.1

0 commit comments

Comments
 (0)