forked from jdcargile/ms-teams-notification
-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
40 lines (40 loc) · 1.24 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
name: 'Microsoft Teams Notification'
description: 'Send a custom notification message to a Microsoft Teams channel with GitHub repo details'
author: 'jdcargile'
branding:
icon: message-circle
color: purple
inputs:
custom-facts:
description: YAML-parseable multiline string defining the list of object with name and value to display on the facts table
required: false
description:
description: Text description to be communicated under titile
required: false
github-token:
description: 'GitHub Token'
required: true
ms-teams-webhook-uri:
description: 'Microsoft Teams Webhook URI'
required: true
notification-summary:
description: 'Message to be sent to Microsoft Teams channel'
required: true
notification-color:
description: 'Color of notification header line'
required: true
view-commit-changes:
description: 'Activates `view commit changes` button.'
required: false
view-pull-request:
description: 'Activates `view pull request` button.'
required: false
view-workflow-run:
description: 'Activates `view workflow run` button.'
required: false
timezone:
description: 'Timezone (ex. America/Denver)'
required: false
runs:
using: 'node16'
main: 'dist/index.js'