Skip to content

Commit ef5bc12

Browse files
committed
revert: return guards against sending notifications off main
1 parent 3c81a29 commit ef5bc12

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: ${{ !success() }}
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)