Correct the exaple payload file content #227

This commit is contained in:
Kazuhiro Sera
2023-07-11 11:45:39 +09:00
parent d419a16663
commit fa9a460799
@@ -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!"
}