Skip to content

Commit b2e587d

Browse files
authored
chore(ci): Identify which repository the flakes are reported for (#2824)
## Description <!-- A summary of what this pull request achieves and a rough list of changes. --> 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.~~
1 parent 3f5b778 commit b2e587d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/flaky.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ jobs:
9393
uses: n0-computer/discord-webhook-notify@v1
9494
if: ${{ env.TESTS_RESULT == 'failure' || env.TESTS_RESULT == 'success' }}
9595
with:
96+
text: "Flaky tests in **${{ github.repository }}**:"
9697
severity: ${{ env.TESTS_RESULT == 'failure' && 'warn' || 'info' }}
9798
details: ${{ env.TESTS_RESULT == 'failure' && steps.make_summary.outputs.summary || 'No flaky failures!' }}
9899
webhookUrl: ${{ secrets.DISCORD_N0_GITHUB_CHANNEL_WEBHOOK_URL }}

0 commit comments

Comments
 (0)