diff --git a/example-workflows/Technique_1_Slack_Workflow_Builder/payloads/example.json b/example-workflows/Technique_1_Slack_Workflow_Builder/payloads/example.json index 9a1ec39..6f212ce 100644 --- a/example-workflows/Technique_1_Slack_Workflow_Builder/payloads/example.json +++ b/example-workflows/Technique_1_Slack_Workflow_Builder/payloads/example.json @@ -1,42 +1,3 @@ { - "attachments": [ - { - "color": "#d90000", - "blocks": [ - { - "type": "section", - "text": { - "type": "mrkdwn", - "text": "${{ github.workflow }} workflow failed on ${{ env.DEFAULT_BRANCH }} branch in the ${{ github.event.repository.name }} repository!" - } - }, - { - "type": "divider" - }, - { - "type": "actions", - "elements": [ - { - "type": "button", - "text": { - "type": "plain_text", - "text": "Build", - "emoji": true - }, - "url": "${{ env.REPO_URL }}/actions/runs/${{ github.run_id }}" - }, - { - "type": "button", - "text": { - "type": "plain_text", - "text": "Commit", - "emoji": true - }, - "url": "${{ env.REPO_URL }}/commit/${{ github.sha }}" - } - ] - } - ] - } - ] + "text": "${{ github.workflow }} workflow failed on ${{ env.DEFAULT_BRANCH }} branch in the ${{ github.event.repository.name }} repository!" }