Skip to content

Commit

Permalink
added buttons in payload
Browse files Browse the repository at this point in the history
  • Loading branch information
sangeet-joy_xero committed Oct 18, 2024
1 parent da217a8 commit ef25c1f
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/actions/notify-slack/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,29 @@ runs:
"type": "mrkdwn",
"text": "GitHub Action build result: ${{ job.status }}\n${{ github.event.pull_request.html_url || github.event.head_commit.url }}"
}
},
{
"type": "actions",
"elements": [
{
"type": "button",
"text": {
"type": "plain_text",
"text": "Check the logs",
"emoji": true
},
"url": "https://google.com"
},
{
"type": "button",
"text": {
"type": "plain_text",
"text": ":github repo: ${{github.event.repository.name}}",
"emoji": true
},
"url": "https://google.com"
}
]
}
]
}

0 comments on commit ef25c1f

Please sign in to comment.