forked from toko-bifrost/ms-teams-deploy-card
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
79 lines (77 loc) · 2.42 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
name: Microsoft Teams Notification Card
author: LVMH InnerSource Team (forked from Project Toko Bifrost)
description: Notify your Teams channel with a beautiful, comprehensive deployment card
branding:
icon: bell
color: purple
inputs:
webhook-uri:
description: Microsoft Teams webhook URI
required: true
github-token:
description: Github token
required: true
environment:
description: Name of the environment (won't be included in the card if none)
required: false
default: null
timezone:
description: Timezone for notification
required: false
default: UTC
card-layout-start:
description: Card layout on start (i.e. "complete", "cozy", "compact")
required: false
default: complete
card-layout-exit:
description: Card layout on end (i.e. "complete", "cozy", "compact")
required: false
default: compact
show-on-start:
description: Show the MS Teams card upon starting this Github Actions job
required: false
default: true
show-on-exit:
description: Show the MS Teams card upon exiting this Github Actions job
required: false
default: true
show-on-failure:
description: Show the MS Teams card upon failure only of this Github Actions job
required: false
default: false
custom-facts:
description: YAML-parseable multiline string defining the list of object with name and value to display on the facts table
required: false
default: null
enable-view-status-action:
description: Enable an action to view the deployment status
required: false
default: true
enable-review-diffs-action:
description: Enable an action to review commit diffs
required: false
default: true
view-status-action-text:
description: Customize action text in viewing the deployment status
required: false
default: View build/deploy status
review-diffs-action-text:
description: Customize action text in reviewing commit diffs
required: false
default: Review commit diffs
custom-actions:
description: Add more actions and links on cozy and complete layout
required: false
default: null
include-files:
description: Only for complete layout; Set false to exclude list of files
required: false
default: true
allowed-file-len:
description: Allowed number of files to display
required: false
default: 7
runs:
using: node16
main: dist/main/index.js
post: dist/post/index.js