From 5863b9ee66723bfcd9bc3a06b8d4cac430abd40f Mon Sep 17 00:00:00 2001 From: aboyko Date: Wed, 1 Nov 2023 14:33:33 -0400 Subject: [PATCH] GHA: edit build message --- .github/workflows/notify-failed-build.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.github/workflows/notify-failed-build.yml b/.github/workflows/notify-failed-build.yml index ab0b92958..2444b2ec5 100644 --- a/.github/workflows/notify-failed-build.yml +++ b/.github/workflows/notify-failed-build.yml @@ -24,16 +24,25 @@ jobs: channel-id: "C0188MENU2J" payload: | { - "text": "${{ inputs.label }} ${{ inputs.link }}", "attachments": [ { + "text": "${{ inputs.label }} ${{ inputs.link }}", + "blocks": [ + { + "type": "section", + "text": { + "type": "mrkdwn", + "text": "${{ inputs.label }} ${{ inputs.link }}" + } + } + ] "pretext": "Build Failed", "color": "f0190a", "fields": [ { "title": "Status", "short": true, - "value": "Failed" + "value": "Completed" } ] }