Skip to content

Commit 82c8a26

Browse files
Mesh-2092: prettify message
1 parent edeebc5 commit 82c8a26

1 file changed

Lines changed: 19 additions & 1 deletion

File tree

.github/workflows/pull-request.yml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,4 +326,22 @@ jobs:
326326
webhook: ${{ secrets.DEPENDABOT_SLACK_WEBHOOK_URL }}
327327
webhook-type: incoming-webhook
328328
payload: |
329-
text : ":alarm: DEPENDABOT PR FAILED for ${{ github.repository }}:${{ github.ref }} in <https://github.com/${{ github.repository }}/pull/${{ github.event.number }}|PR #${{ github.event.number }}> :alarm:"
329+
{
330+
"blocks": [
331+
{
332+
"type": "header",
333+
"text": {
334+
"type": "plain_text",
335+
"text": ":alarm: DEPENDABOT PR FAILED :alarm:",
336+
"emoji": true
337+
}
338+
},
339+
{
340+
"type": "section",
341+
"text": {
342+
"type": "mrkdwn",
343+
"text": "Checks failed for ${{ github.repository }}:${{ github.ref }} in <https://github.com/${{ github.repository }}/pull/${{ github.event.number }}|PR #${{ github.event.number }}>"
344+
}
345+
}
346+
]
347+
}

0 commit comments

Comments
 (0)