From 578f5485212e4cc812b8bd5c1cf10efdceed48d3 Mon Sep 17 00:00:00 2001 From: David Sibley Date: Thu, 11 Jul 2024 14:44:46 +0100 Subject: [PATCH] moving payload for testing-test to one line in case there's some stringify error behind the scenes --- .github/workflows/awsnuke.yml | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/.github/workflows/awsnuke.yml b/.github/workflows/awsnuke.yml index dacd6b7382e..09a6dcdb456 100644 --- a/.github/workflows/awsnuke.yml +++ b/.github/workflows/awsnuke.yml @@ -229,17 +229,7 @@ jobs: uses: slackapi/slack-github-action@53b162f7f5bedbf55515caebaee839322b18fb28 # v1.26.0 with: payload: | - { - "blocks": [ - { - "type": "section", - "text": { - "type": "mrkdwn", - "text": ":no_entry: *Failed GitHub Action* :no_entry:\n*Workflow:* <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|${{ github.workflow }}>\n*Job:* ${{ github.job }}\n*Repo:* ${{ github.repository }}\n*Failed Environment:* ${{ env.ACCOUNT_NAME }}" - } - } - ] - } + { "blocks": [ { "type": "section", "text": { "type": "mrkdwn", "text": ":no_entry: *Failed GitHub Action* :no_entry:\n*Workflow:* <${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}|${{ github.workflow }}>\n*Job:* ${{ github.job }}\n*Repo:* ${{ github.repository }}\n*Failed Environment:* ${{ env.ACCOUNT_NAME }}" } } ] } env: SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK