From 658502b59df1be7440b916af257642912169162b Mon Sep 17 00:00:00 2001 From: Claudia Garcia Date: Thu, 27 Apr 2023 11:25:02 +0100 Subject: [PATCH] [CONTENT-3783] Correct indentation Signed-off-by: Claudia Garcia --- .github/workflows/main.yml | 38 ++++++++++++++++++-------------------- 1 file changed, 18 insertions(+), 20 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index cdda56a..8afe879 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -97,27 +97,25 @@ jobs: uses: slackapi/slack-github-action@v1.23.0 with: payload: | - { - "text": "*Unsuccessful `bitnami/minideb` CI pipeline*", - "blocks": [ - { - "type": "section", - "text": { - "type": "mrkdwn", - "text": "*Unsuccessful `bitnami/minideb` CI pipeline*" + { + "text": "*Unsuccessful `bitnami/minideb` CI pipeline*", + "blocks": [ + { + "type": "section", + "text": { + "type": "mrkdwn", + "text": "*Unsuccessful `bitnami/minideb` CI pipeline*" + } + }, + { + "type": "section", + "text": { + "type": "mrkdwn", + "text": "The CI pipeline for <${{ github.event.head_commit.url }}|bitnami/minideb@${{ github.event.head_commit.id }}> did not succeed. Check the related <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|action run> for more information." + } } - }, - { - "type": "section", - "text": { - "type": "mrkdwn", - "text": "The CI pipeline for <${{ github.event.head_commit.url }}|bitnami/minideb@${{ github.event.head_commit.id }}> did not succeed. Check the related <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|action run> for more information." - } - } - ] - } - - + ] + } env: SLACK_WEBHOOK_URL: ${{ secrets.TEST_CI_SLACK_WEBHOOK_URL }} SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK