From 3cbbca44c46f19715dce69fe96e82348aa2cf55d Mon Sep 17 00:00:00 2001 From: aboyko Date: Wed, 1 Nov 2023 15:44:08 -0400 Subject: [PATCH] GHA: correct failed build message --- .github/workflows/notify-failed-build.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/notify-failed-build.yml b/.github/workflows/notify-failed-build.yml index 7afc87371..599abb12a 100644 --- a/.github/workflows/notify-failed-build.yml +++ b/.github/workflows/notify-failed-build.yml @@ -24,12 +24,13 @@ jobs: channel-id: "C0188MENU2J" payload: | { - "attachments": [ + "text": "${{ inputs.label }} ${{ inputs.link }}", + "blocks": [ { - "color": "f0190a", + "type": "section", "text": { "type": "mrkdwn", - "text": "${{ inputs.label }} ${{ inputs.link }}" + "text": ":fail: *${{ inputs.label }}* ${{ inputs.link }}" } } ]