forked from sarisia/actions-status-discord
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
66 lines (63 loc) · 1.77 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
63
64
65
66
name: 'Actions Status Discord'
description: 'Post Github Actions CI status to Discord'
author: 'Despegar'
inputs:
webhook:
description: "Discord webhook endpoint. If not set, env.DISCORD_WEBHOOK will be used."
required: false
status:
description: "Job status. Should be bound to job.status. Default to success."
required: false
default: ${{ job.status }}
job:
description: "Deprecated. Job name included in message title. Same as title input."
required: false
title:
description: "String included in embed title. Overrides job input."
required: false
default: ${{ github.workflow }}
description:
description: "Description included in message"
required: false
image:
description: "Image attached to the message"
required: false
color:
description: "Overrides Discord embed color"
required: false
username:
description: "Overrides Discord webhook username"
required: false
avatar_url:
description: "Overrides Discord webhook avatar url"
required: false
nofail:
description: "This action won't make workflow failed by default."
required: false
default: 'true'
nocontext:
description: "Suppress GitHub context fields"
required: false
default: 'false'
noprefix:
description: "Avoid appending job status to title"
required: false
default: 'false'
nodetail:
description: "Suppress detailed embed fields"
required: false
default: 'false'
proxyHost:
description: "for using a proxy"
required: false
default: ''
proxyPort:
description: "for using a proxy"
required: false
default: ''
runs:
using: 'node12'
main: 'lib/main.js'
branding:
color: 'blue'
icon: 'send'