This repository has been archived by the owner on Mar 19, 2024. It is now read-only.
forked from sarisia/actions-status-discord
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
61 lines (58 loc) · 1.69 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
name: 'Post Actions Status to 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
title:
description: "String included in embed title. Overrides job input."
required: false
default: ${{ github.workflow }}
content:
description: "String for the message above the embed."
required: false
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'
runs:
using: 'node12'
main: 'lib/main.js'
branding:
color: 'white'
icon: 'send'