forked from aliencube/microsoft-teams-actions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
52 lines (48 loc) · 1.14 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
name: Microsoft Teams (Generic)
author: Aliencube Community
description: Send a message to the designated channel in Microsoft Teams
branding:
icon: message-square
color: purple
inputs:
webhook_uri:
description: Incoming webhook URI to Microsoft Teams
required: true
title:
description: Message title
required: false
default: ''
summary:
description: Message summary
required: false
default: ''
text:
description: Message text
required: false
default: ''
theme_color:
description: Message theme color
required: false
default: ''
sections:
description: JSON array for message sections
required: false
default: ''
actions:
description: JSON array for message actions
required: false
default: ''
outputs:
message:
description: Message sent to Microsoft Teams
runs:
using: docker
image: Dockerfile
env:
WEBHOOK_URI: ${{ inputs.webhook_uri }}
TITLE: ${{ inputs.title }}
SUMMARY: ${{ inputs.summary }}
TEXT: ${{ inputs.text }}
THEME_COLOR: ${{ inputs.theme_color }}
SECTIONS: ${{ inputs.sections }}
ACTIONS: ${{ inputs.actions }}