From b2e587d7c96e84b2c2df75e33fea80ef3bd97450 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20Kr=C3=BCger?= Date: Wed, 23 Oct 2024 10:45:25 +0200 Subject: [PATCH] chore(ci): Identify which repository the flakes are reported for (#2824) ## Description Just prefixes the discord message with the repository name. See [this msg](https://discord.com/channels/949724860232392765/1194275793220665375/1298560426392555601) generated from this PR. ## Change checklist - [x] Self-review. - ~~[ ] Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant.~~ - ~~[ ] Tests if relevant.~~ - ~~[ ] All breaking changes documented.~~ --- .github/workflows/flaky.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/flaky.yaml b/.github/workflows/flaky.yaml index 7b2ecccc6f..094f6b39a9 100644 --- a/.github/workflows/flaky.yaml +++ b/.github/workflows/flaky.yaml @@ -93,6 +93,7 @@ jobs: uses: n0-computer/discord-webhook-notify@v1 if: ${{ env.TESTS_RESULT == 'failure' || env.TESTS_RESULT == 'success' }} with: + text: "Flaky tests in **${{ github.repository }}**:" severity: ${{ env.TESTS_RESULT == 'failure' && 'warn' || 'info' }} details: ${{ env.TESTS_RESULT == 'failure' && steps.make_summary.outputs.summary || 'No flaky failures!' }} webhookUrl: ${{ secrets.DISCORD_N0_GITHUB_CHANNEL_WEBHOOK_URL }}