From ca29690bf918fa3bc9e14c4968694bdd981666ca Mon Sep 17 00:00:00 2001 From: ppawlowski Date: Mon, 15 Jul 2024 11:50:31 +0200 Subject: [PATCH] Redesign message body --- .github/workflows/install-test.yaml | 25 +++++++++++-------------- 1 file changed, 11 insertions(+), 14 deletions(-) diff --git a/.github/workflows/install-test.yaml b/.github/workflows/install-test.yaml index 5b6b7dc0c0..6ab7144805 100644 --- a/.github/workflows/install-test.yaml +++ b/.github/workflows/install-test.yaml @@ -67,20 +67,17 @@ jobs: }, { "type": "section", - "fields": [ - { - "type": "mrkdwn", - "text": "`${{ github.workflow }}` workflow failed to complete successfully." - }, - { - "type": "mrkdwn", - "text": " ", - }, - { - "type": "mrkdwn", - "text": "*Workflow run:*\n<${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|View>" - } - ] + "text": { + "type": "mrkdwn", + "text": "<${{ github.server_url }}/${{ github.repository }}/actions/workflows/install-test.yaml|${{ github.workflow }}>` workflow failed to complete successfully." + } + }, + { + "type": "section", + "text": { + "type": "mrkdwn", + "text": "*Workflow run:*\n<${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|View>" + } } ] }