-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: use card template for teams post (#925)
- Loading branch information
Showing
5 changed files
with
126 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
{ | ||
"type": "message", | ||
"attachments": [ | ||
{ | ||
"contentType": "application/vnd.microsoft.card.adaptive", | ||
"contentUrl": null, | ||
"content": { | ||
"type": "AdaptiveCard", | ||
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json", | ||
"version": "1.5", | ||
"msteams": { | ||
"width": "Full" | ||
}, | ||
"body": [ | ||
{ | ||
"type": "ColumnSet", | ||
"columns": [ | ||
{ | ||
"type": "Column", | ||
"width": 1, | ||
"items": [ | ||
{ | ||
"type": "Image", | ||
"url": "https://miro.medium.com/max/552/1*G7s61tFPaLI9JRxWYpRNLw.png", | ||
"size": "Large", | ||
"horizontalAlignment": "Center" | ||
} | ||
], | ||
"horizontalAlignment": "Center", | ||
"verticalContentAlignment": "Center" | ||
}, | ||
{ | ||
"type": "Column", | ||
"width": 2, | ||
"items": [ | ||
{ | ||
"type": "TextBlock", | ||
"text": "@@TITLE@@", | ||
"wrap": true, | ||
"fontType": "Default", | ||
"size": "Large", | ||
"weight": "Bolder" | ||
}, | ||
{ | ||
"type": "FactSet", | ||
"facts": [ | ||
{ | ||
"title": "Job ID", | ||
"value": "@@JOB_ID@@" | ||
}, | ||
{ | ||
"title": "Run ID", | ||
"value": "@@RUN_ID@@" | ||
}, | ||
{ | ||
"title": "Ref", | ||
"value": "@@REF@@" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"type": "TextBlock", | ||
"text": "@@MESSAGE@@", | ||
"wrap": true, | ||
"horizontalAlignment": "Left", | ||
"spacing": "Medium", | ||
"isSubtle": true | ||
} | ||
], | ||
"actions": [ | ||
{ | ||
"type": "Action.OpenUrl", | ||
"title": "GitHub workflow run", | ||
"url": "@@RUN_URL@@", | ||
"style": "positive" | ||
} | ||
] | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters