diff --git a/.github/workflows/server-ci-report.yml b/.github/workflows/server-ci-report.yml index 956726f5e1..90c2da2d04 100644 --- a/.github/workflows/server-ci-report.yml +++ b/.github/workflows/server-ci-report.yml @@ -70,7 +70,7 @@ jobs: check_annotations: true - 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' }} + if: ${{ steps.report.outputs.flaky_summary != '
TestRetries
' && github.event.workflow_run.name == 'Server CI Master' && github.event.workflow_run.head_branch == 'master' }} uses: mattermost/action-mattermost-notify@b7d118e440bf2749cd18a4a8c88e7092e696257a # v2.0.0 with: MATTERMOST_WEBHOOK_URL: ${{ secrets.MM_COMMUNITY_DEVELOPERS_INCOMING_WEBHOOK_FROM_GH_ACTIONS }}