File tree Expand file tree Collapse file tree 3 files changed +145
-1
lines changed Expand file tree Collapse file tree 3 files changed +145
-1
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @opsless/ms-teams-github-actions" ,
3
- "version" : " 0.2.0 " ,
3
+ "version" : " 0.2.1 " ,
4
4
"private" : true ,
5
5
"description" : " MS Teams Github Actions integration" ,
6
6
"main" : " lib/main.js" ,
Original file line number Diff line number Diff line change
1
+ {
2
+ "type" : " AdaptiveCard" ,
3
+ "body" : [
4
+ {
5
+ "type" : " TextBlock" ,
6
+ "size" : " large" ,
7
+ "weight" : " bolder" ,
8
+ "text" : " Workflow '${$root.workflow.name}' #${$root.workflow.run_number} ${$root.workflow.conclusion}" ,
9
+ "color" : " ${$root.workflow.conclusion_color}" ,
10
+ "fontType" : " Default" ,
11
+ "separator" : true
12
+ },
13
+ {
14
+ "type" : " TextBlock" ,
15
+ "text" : " on [${$root.repository.name}](${$root.repository.html_url})" ,
16
+ "wrap" : true ,
17
+ "spacing" : " None"
18
+ },
19
+ {
20
+ "type" : " ColumnSet" ,
21
+ "columns" : [
22
+ {
23
+ "type" : " Column" ,
24
+ "items" : [
25
+ {
26
+ "type" : " Image" ,
27
+ "style" : " Person" ,
28
+ "url" : " ${$root.author.avatar_url}" ,
29
+ "size" : " Medium"
30
+ }
31
+ ],
32
+ "width" : " auto"
33
+ },
34
+ {
35
+ "type" : " Column" ,
36
+ "items" : [
37
+ {
38
+ "type" : " TextBlock" ,
39
+ "weight" : " Bolder" ,
40
+ "text" : " [${$root.author.username}](${$root.author.html_url})" ,
41
+ "wrap" : true
42
+ }
43
+ ],
44
+ "width" : " stretch"
45
+ }
46
+ ],
47
+ "spacing" : " Medium"
48
+ },
49
+ {
50
+ "type" : " FactSet" ,
51
+ "facts" : [
52
+ {
53
+ "title" : " Commit" ,
54
+ "value" : " [${$root.commit.message}](${$root.commit.html_url})"
55
+ },
56
+ {
57
+ "title" : " ${$root.event.type}" ,
58
+ "value" : " [${$root.event.html_url}](${$root.event.html_url})"
59
+ },
60
+ {
61
+ "title" : " Workflow run details" ,
62
+ "value" : " [${$root.workflow.run_html_url}](${$root.workflow.run_html_url})"
63
+ }
64
+ ],
65
+ "height" : " stretch" ,
66
+ "separator" : true ,
67
+ "spacing" : " Medium"
68
+ }
69
+ ],
70
+ "$schema" : " http://adaptivecards.io/schemas/adaptive-card.json" ,
71
+ "version" : " 1.2"
72
+ }
You can’t perform that action at this time.
0 commit comments