Skip to content

Commit ef25c1f

Browse files
author
sangeet-joy_xero
committed
added buttons in payload
1 parent da217a8 commit ef25c1f

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/actions/notify-slack/action.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,29 @@ runs:
5959
"type": "mrkdwn",
6060
"text": "GitHub Action build result: ${{ job.status }}\n${{ github.event.pull_request.html_url || github.event.head_commit.url }}"
6161
}
62+
},
63+
{
64+
"type": "actions",
65+
"elements": [
66+
{
67+
"type": "button",
68+
"text": {
69+
"type": "plain_text",
70+
"text": "Check the logs",
71+
"emoji": true
72+
},
73+
"url": "https://google.com"
74+
},
75+
{
76+
"type": "button",
77+
"text": {
78+
"type": "plain_text",
79+
"text": ":github repo: ${{github.event.repository.name}}",
80+
"emoji": true
81+
},
82+
"url": "https://google.com"
83+
}
84+
]
6285
}
6386
]
6487
}

0 commit comments

Comments
 (0)