This repository has been archived by the owner on Apr 25, 2024. It is now read-only.
forked from sarisia/actions-status-discord
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
71 lines (68 loc) · 2.01 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
67
68
69
70
71
name: "Actions Status Discord"
description: "Post Github Actions CI status to Discord"
author: "Sarisia"
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
content:
description: "Content. Shown as an message outside of the embed. See [Mention to user/role](#mention-to-user-role)"
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
url:
description: "URL to jump when the title is clicked"
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"
notimestamp:
description: "Avoid appending timestamp"
required: false
default: "false"
server_url:
description: "Overrides GitHub server url"
required: false
runs:
using: "node20"
main: "lib/index.js"
branding:
color: "blue"
icon: "send"