chore: test old
All checks were successful
Sample Testing / my_job (push) Successful in 1m52s

This commit is contained in:
Marcel S. Henselin 2026-04-16 11:55:54 +02:00
parent d9828186fd
commit 3d63ed4790
4 changed files with 98 additions and 99 deletions

55
message.tpl Normal file
View file

@ -0,0 +1,55 @@
{
"cardsV2": [
{
"cardId": "notify-{{ .ActionID }}",
"card": {
"header": {
"title": "{{ .Title }}",
"subtitle": "{{ .SubTitle }}",
"imageUrl": "{{ .IconUrl }}",
"imageType": "SQUARE"
},
"sections": [
{
"header": "{{ .Title }}",
"collapsible": true,
"uncollapsibleWidgetsCount": 2,
"widgets": [
{{ .Add }}
{
"decoratedText": {
"startIcon": {
"knownIcon": "PERSON"
},
"text": "<b>{{ .Author }}</b>"
}
},
{
"textParagraph": {
"text": "{{ .EventBody }}",
"maxLines": 2
}
},
{
"buttonList": {
"buttons": [
{
"text": "View Source Event",
"type": "FILLED",
"onClick": {
"openLink": {
"url": "{{ .GitURL }}/{{ .Project }}/actions/runs/{{ .ActionID }}"
}
}
}
]
}
}
]
}
]
}
}
]
}