From 95fe972d83b43258cca16dc7c5dd370d94f1b021 Mon Sep 17 00:00:00 2001 From: Jesse Hallam Date: Tue, 28 Jan 2025 12:25:19 -0400 Subject: [PATCH] only report flaky on master (#30033) Reporting flaky tests on release branches isn't useful, as we aren't likely to go back and patch these. Let's only surface flaky reports from master. (PR semantics remain unchanged). --- .github/workflows/server-ci-report.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/server-ci-report.yml b/.github/workflows/server-ci-report.yml index efad708695..93f12f7318 100644 --- a/.github/workflows/server-ci-report.yml +++ b/.github/workflows/server-ci-report.yml @@ -69,8 +69,8 @@ jobs: include_passed: true check_annotations: true - - name: Report retried tests via webhook (master || release-*) - if: ${{ steps.report.outputs.flaky_summary != '
TestRetries
' && github.event.workflow_run.name == 'Server CI Master' }} + - name: Report retried tests via webhook (master) + if: ${{ steps.report.outputs.flaky_summary != '
TestRetries
' && github.event.workflow_run.name == 'Server CI Master' && github.ref_name == 'master' }} uses: mattermost/action-mattermost-notify@b7d118e440bf2749cd18a4a8c88e7092e696257a # v2.0.0 with: MATTERMOST_WEBHOOK_URL: ${{ secrets.MM_COMMUNITY_DEVELOPERS_INCOMING_WEBHOOK_FROM_GH_ACTIONS }}