From b18dfb0bb7a237cef2e368861f144614d7f37331 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20Kr=C3=BCger?= Date: Wed, 23 Oct 2024 09:36:01 +0200 Subject: [PATCH 1/3] chore(ci): Identify which repository flaky tests were reported for --- .github/workflows/flaky.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/flaky.yaml b/.github/workflows/flaky.yaml index 7b2ecccc6..bf29b5382 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.event.repository.name }}**:" 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 }} From 39c0842996e2ee0a0c3a87be138336ef30985d0f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20Kr=C3=BCger?= Date: Wed, 23 Oct 2024 09:59:36 +0200 Subject: [PATCH 2/3] Also fix the docs preview action --- .github/workflows/docs.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index c83ea28f3..efe80a993 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -67,7 +67,7 @@ jobs: issue-number: ${{ github.event.pull_request.number || inputs.pr_number }} comment-id: ${{ steps.fc.outputs.comment-id }} body: | - Documentation for this PR has been generated and is available at: https://${{ github.repository_owner }}.github.io/${{ github.event.repository.name }}/${{ env.PREVIEW_PATH }}/iroh/ + Documentation for this PR has been generated and is available at: https://${{ github.repository_owner }}.github.io/${{ github.event.repository.name }}/${{ env.PREVIEW_PATH }}/iroh_blobs/ Last updated: ${{ env.TIMESTAMP }} edit-mode: replace From 133b648fabd47edb59389c84d8f378e5c2474776 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20Kr=C3=BCger?= Date: Wed, 23 Oct 2024 10:16:47 +0200 Subject: [PATCH 3/3] Format with the organization name, too This aligns this PR with the main iroh repo PR. --- .github/workflows/flaky.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/flaky.yaml b/.github/workflows/flaky.yaml index bf29b5382..094f6b39a 100644 --- a/.github/workflows/flaky.yaml +++ b/.github/workflows/flaky.yaml @@ -93,7 +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.event.repository.name }}**:" + 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 }}