generated from actions/javascript-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
62 lines (54 loc) · 1.51 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
name: "Github Actions Notify Telegram"
description: "Send a notification to a Telegram chat via a Telegram bot"
inputs:
TELEGRAM_BOT_ID: # id of input
description: "ID of the Telegram bot"
required: true
default: "null"
TELEGRAM_CHAT_ID: # id of input
description: "ID of the chat. Telegram bot will send message to this chat"
required: true
default: "null"
CUSTOMMESSAGESUCCESS:
description: "Notify message send via the Telegram bot when success"
required: true
default: "Successfully Completed Github Action"
CUSTOMMESSAGESFAILURE:
description: "Notify message send via the Telegram bot when failed"
required: true
default: "Github Action Failed"
CUSTOMMESSAGESCANCELLED:
description: "Notify message send via the Telegram bot when cancelled"
required: true
default: "Github Action Cancled"
JOBSTATUS:
description: Job status"
required: true
default: "success"
GITHUB_RUN_NUMBER:
description: "GitHub Run Number"
required: false
default: "0"
GITHUB_REPOSITORY:
description: "GitHub Repository "
required: false
default: ""
GITHUB_RUN_ID:
description: "GitHub Run ID"
required: false
default: "0"
GITHUB_ACTOR:
description: "Triggered user"
required: false
default: ""
GITHUB_EVENT_NAME:
description: "Triggered event"
required: false
default: ""
GITHUB_SHA:
description: "GitHub commit SHA "
required: false
default: ""
runs:
using: "node12"
main: "dist/index.js"