Skip to content

Commit

Permalink
moving payload for testing-test to one line in case there's some stri…
Browse files Browse the repository at this point in the history
…ngify error behind the scenes
  • Loading branch information
dms1981 committed Jul 11, 2024
1 parent 7f5efbf commit 578f548
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions .github/workflows/awsnuke.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 578f548

Please sign in to comment.