GHA: edit build message
This commit is contained in:
13
.github/workflows/notify-failed-build.yml
vendored
13
.github/workflows/notify-failed-build.yml
vendored
@@ -24,16 +24,25 @@ jobs:
|
||||
channel-id: "C0188MENU2J"
|
||||
payload: |
|
||||
{
|
||||
"text": "${{ inputs.label }} ${{ inputs.link }}",
|
||||
"attachments": [
|
||||
{
|
||||
"text": "${{ inputs.label }} ${{ inputs.link }}",
|
||||
"blocks": [
|
||||
{
|
||||
"type": "section",
|
||||
"text": {
|
||||
"type": "mrkdwn",
|
||||
"text": "${{ inputs.label }} ${{ inputs.link }}"
|
||||
}
|
||||
}
|
||||
]
|
||||
"pretext": "Build Failed",
|
||||
"color": "f0190a",
|
||||
"fields": [
|
||||
{
|
||||
"title": "Status",
|
||||
"short": true,
|
||||
"value": "Failed"
|
||||
"value": "Completed"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user