From f8a86f05a14e1c72e5d9cba834d5bfa8f086e704 Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Tue, 25 Jun 2024 20:42:36 +0000 Subject: [PATCH] [7.17] ci(slack-message): fix the error (backport #13493) (#13495) * ci(slack-message): fix the error (#13493) (cherry picked from commit fd02bb0512ff05fc1473baeb1eb8c9bafdf32bda) # Conflicts: # .github/workflows/benchmarks.yml * Update .github/workflows/benchmarks.yml --------- Co-authored-by: Victor Martinez --- .github/workflows/benchmarks.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/benchmarks.yml b/.github/workflows/benchmarks.yml index d31f1ccd85f..a5df6b02131 100644 --- a/.github/workflows/benchmarks.yml +++ b/.github/workflows/benchmarks.yml @@ -161,12 +161,11 @@ jobs: # Notify failure to Slack only on schedule (nightly run) - if: failure() && github.event_name == 'schedule' - uses: elastic/oblt-actions/slack/notify-result@v1.8.0 + uses: elastic/oblt-actions/slack/notify-result@v1 with: bot-token: ${{ secrets.SLACK_BOT_TOKEN }} channel-id: "#apm-server" - message: | - Nightly APM Server benchmarks failed! SDH Duty assignee, please have a look and follow this ! + message: Nightly APM Server benchmarks failed! SDH Duty assignee, please have a look and follow this ! # Notify result to Slack only on schedule (nightly run) - if: github.event_name == 'schedule'