Skip to content

Commit

Permalink
changed the payload
Browse files Browse the repository at this point in the history
  • Loading branch information
sangeet-joy_xero committed Oct 17, 2024
1 parent 475719e commit 1f8c0aa
Showing 1 changed file with 26 additions and 3 deletions.
29 changes: 26 additions & 3 deletions .github/actions/notify-slack/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,37 @@ runs:
with:
payload: |
{
"text": "${{inputs.heading_text}}",
"text": "TESTING ---- ${{inputs.heading_text}}",
"blocks": [
{
"type": "section",
"text": {
"text": "*Repository:* ${{inputs.repository_name}}",
"type": "mrkdwn"
"type": "mrkdwn",
"text": "section 1 text"
}
},
{
"type": "actions",
"elements": [
{
"type": "button",
"text": {
"type": "plain_text",
"text": ":github-actions: Pipeline",
"emoji": true
},
"url": "${{inputs.job_url}}"
},
{
"type": "button",
"text": {
"type": "plain_text",
"text": ":github repo: ${{github.event.repository.name}}",
"emoji": true
},
"url": "${{github.server_url}}/${{github.repository}}"
}
]
}
]
}

0 comments on commit 1f8c0aa

Please sign in to comment.