Skip to content

Commit 6f1e13f

Browse files
authored
chore(ci): Warn in our discord channel on failure (#2044)
## Description This is better than error, since flaky tests really are expected to be flaky. And we don't want to miss other errors in that channel which are more important. ## Notes & open questions Maybe warn is even a bit high, but all that matters is that we get different colours in our channel. If later we send more notifications to that channel we can tweak the levels appropriately. ## Change checklist - [x] Self-review.
1 parent 5398479 commit 6f1e13f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/flaky.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
uses: n0-computer/discord-webhook-notify@v1
6060
if: ${{ env.TESTS_RESULT == 'failure' }}
6161
with:
62-
severity: error
62+
severity: warn
6363
details: |
6464
Flaky tests failed again, why don't you go fix them?
6565
See https://github.com/n0-computer/iroh/actions/workflows/flaky.yaml

0 commit comments

Comments
 (0)