From fa9a460799cfd03e49b7ce7b773050b25b67f5e3 Mon Sep 17 00:00:00 2001 From: Kazuhiro Sera Date: Tue, 11 Jul 2023 11:45:39 +0900 Subject: [PATCH] Correct the exaple payload file content #227 --- .../payloads/example.json | 41 +------------------ 1 file changed, 1 insertion(+), 40 deletions(-) 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!" }