Skip to content

Commit b20b144

Browse files
committed
ci: fix missing curly brace in chat object construction
1 parent afb5d19 commit b20b144

File tree

1 file changed

+33
-31
lines changed

1 file changed

+33
-31
lines changed

.github/workflows/discussion_chat_webhook.yml

Lines changed: 33 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -31,42 +31,44 @@ jobs:
3131
threadKey: "\($threadNumber)",
3232
},
3333
cardsV2: [
34-
cardId: "discussion-card",
35-
card: {
36-
header: {
37-
title: "Discussion #\($title) is \($action)",
38-
subtitle: "Discussion tracker bot",
39-
},
40-
sections: {
41-
widgets: [
42-
{
43-
decoratedText: {
44-
topLabel: "Title",
45-
text: "<b>\($title)</b>",
46-
bottomLabel: "User: \($user)",
34+
{
35+
cardId: "discussion-card",
36+
card: {
37+
header: {
38+
title: "Discussion #\($title) is \($action)",
39+
subtitle: "Discussion tracker bot",
40+
},
41+
sections: {
42+
widgets: [
43+
{
44+
decoratedText: {
45+
topLabel: "Title",
46+
text: "<b>\($title)</b>",
47+
bottomLabel: "User: \($user)",
48+
},
4749
},
48-
},
49-
{
50-
decoratedText: {
51-
topLabel: "Category",
52-
text: $category,
50+
{
51+
decoratedText: {
52+
topLabel: "Category",
53+
text: $category,
54+
},
5355
},
54-
},
55-
{
56-
buttonList: {
57-
buttons: [
58-
{
59-
text: "OPEN DISCUSSION",
60-
onClick: {
61-
openLink: {
62-
url: $discussionURL,
56+
{
57+
buttonList: {
58+
buttons: [
59+
{
60+
text: "OPEN DISCUSSION",
61+
onClick: {
62+
openLink: {
63+
url: $discussionURL,
64+
},
6365
},
6466
},
65-
},
66-
]
67+
]
68+
},
6769
},
68-
},
69-
],
70+
],
71+
},
7072
},
7173
},
7274
],

0 commit comments

Comments
 (0)