Skip to content

Commit 92c7f2b

Browse files
Merge branch 'main' into feat/nurbs_surface_body_creation
2 parents 86764b6 + 5784d8e commit 92c7f2b

File tree

2 files changed

+31
-28
lines changed

2 files changed

+31
-28
lines changed

.github/workflows/nightly_docker_test.yml

Lines changed: 30 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -174,21 +174,22 @@ jobs:
174174
# Message to send to Teams as a webhook notification in JSON Payload format
175175
raw: >-
176176
{
177-
"@type": "MessageCard",
178-
"@context": "http://schema.org/extensions",
179-
"summary": "Unstable build tests for Windows Core Service failing",
180-
"themeColor": "f44336",
181-
"title": "PyAnsys Geometry unstable build tests - Windows Core Service failing",
182-
"sections": [
177+
"type": "message",
178+
"attachments": [
183179
{
184-
"activityTitle": "Windows Core Service unstable build tests are failing",
185-
"activitySubtitle": "Check the run for more details: https://github.com/ansys/pyansys-geometry/actions/runs/${{ github.run_id }}",
186-
"facts": [
187-
{
188-
"name": "Status",
189-
"value": "Failed"
190-
}
191-
]
180+
"contentType": "application/vnd.microsoft.card.adaptive",
181+
"content": {
182+
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
183+
"type": "AdaptiveCard",
184+
"version": "1.0",
185+
"body": [
186+
{
187+
"type": "TextBlock",
188+
"text": "**Windows Core Service unstable build tests are failing**\n\n[View details in GitHub Actions](https://github.com/ansys/pyansys-geometry/actions/runs/${{ github.run_id }})",
189+
"wrap": true
190+
}
191+
]
192+
}
192193
}
193194
]
194195
}
@@ -242,21 +243,22 @@ jobs:
242243
# Message to send to Teams as a webhook notification in JSON Payload format
243244
raw: >-
244245
{
245-
"@type": "MessageCard",
246-
"@context": "http://schema.org/extensions",
247-
"summary": "Unstable build tests for Linux Core Service failing",
248-
"themeColor": "f44336",
249-
"title": "PyAnsys Geometry unstable build tests - Linux Core Service failing",
250-
"sections": [
246+
"type": "message",
247+
"attachments": [
251248
{
252-
"activityTitle": "Linux Core Service unstable build tests are failing",
253-
"activitySubtitle": "Check the run for more details: https://github.com/ansys/pyansys-geometry/actions/runs/${{ github.run_id }}",
254-
"facts": [
255-
{
256-
"name": "Status",
257-
"value": "Failed"
258-
}
259-
]
249+
"contentType": "application/vnd.microsoft.card.adaptive",
250+
"content": {
251+
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
252+
"type": "AdaptiveCard",
253+
"version": "1.0",
254+
"body": [
255+
{
256+
"type": "TextBlock",
257+
"text": "**Linux Core Service unstable build tests are failing**\n\n[View details in GitHub Actions](https://github.com/ansys/pyansys-geometry/actions/runs/${{ github.run_id }})",
258+
"wrap": true
259+
}
260+
]
261+
}
260262
}
261263
]
262264
}

doc/changelog.d/2274.fixed.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Card message on failure

0 commit comments

Comments
 (0)