-
Notifications
You must be signed in to change notification settings - Fork 4
/
action.yml
50 lines (48 loc) · 1.25 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
name: 'Github Action Notification'
description: 'Github Action Notification with Discord and Slack'
author: 'hunghg255'
branding:
icon: "package"
color: "gray-dark"
runs:
using: 'node16'
main: 'lib/index.js'
inputs:
discord_webhook:
description: 'Discord webhook url.'
required: false
slack_webhook:
description: 'Slack webhook url.'
required: false
slack_username:
description: 'Slack username.'
required: false
telegram_bot_token:
description: 'Telegram bot token.'
required: false
telegram_chat_id:
description: 'Telegram chat id.'
required: false
telegram_message_thread_id:
description: "Message thread id for topic"
required: false
google_chat_webhook:
description: 'Google chat webhook url.'
required: false
ms_teams_webhook:
description: 'Microsoft teams webhook url.'
required: false
title:
description: 'Title of notification.'
required: false
default: ${{ github.workflow }}
description:
description: 'Description of notification.'
required: false
status:
description: "Job status. Should be bound to job.status. Default to success."
required: false
default: ${{ job.status }}
qrcode:
description: "Display with qrcode"
required: false