-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathaction.yml
33 lines (33 loc) · 1.18 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
name: MS Teams Message Card
branding:
icon: message-square
color: blue
description: 'A simple and lightning-fast GitHub action to send notifications as message cards to an MS Teams webhook.'
inputs:
webhook:
description: The MS Teams webhook URL to send the notification to. Obviously required.
required: true
default: ''
title:
description: The title of your card. Will be omitted by MS Teams if left empty.
required: false
default: ''
message:
description: The message content. Supports HTML up to a certain level (interpreted by MS Teams). Can also be empty.
required: true
default: ''
color:
description: The border color of the message card. Will fallback to MS Teams' default color if empty.
required: false
default: ''
buttons:
description: A multiline string where every line defines an action button for the message card. Each line should contain a label text followed by a HTTP(S) URL. If the line does not match this format, it will be silently omitted.
required: false
default: ''
sections:
description: A section object in YAML format
required: false
default: ''
runs:
using: node16
main: dist/index.js