forked from SethCohen/github-releases-to-discord
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
59 lines (59 loc) · 1.84 KB
/
Copy pathaction.yml
File metadata and controls
59 lines (59 loc) · 1.84 KB
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
name: Github Releases To Discord
author: SethCohen
description: Automatically send a stylized Discord webhook of a GitHub Release description to a specified Discord channel.
inputs:
webhook_url:
description: Discord's webhook url. Use GH repo secrets.
required: true
color:
description: Decimal color value for embed.
required: false
default: '2105893'
username:
description: String username for webhook.
required: false
avatar_url:
description: String url to webhook avatar picture.
required: false
custom_html_url:
description: If filled, replaces github's release url with your custom html url.
required: false
content:
description: String content for webhook.
required: false
release_name:
description: Optional release title used when manually triggering the workflow with workflow_dispatch.
required: false
release_body:
description: Optional release body used when manually triggering the workflow with workflow_dispatch.
required: false
release_html_url:
description: Optional release URL used when manually triggering the workflow with workflow_dispatch.
required: false
footer_title:
description: Title for the footer.
required: false
footer_icon_url:
description: Icon url for the footer.
required: false
footer_timestamp:
description: Timestamp for the footer.
required: false
max_description:
description: Max length for the description.
required: false
default: '4096'
remove_github_reference_links:
description: Remove any PR, commit, and issue links from the description.
required: false
default: 'false'
reduce_headings:
description: Converts H3 to bold, h2 to bold & underline.
required: false
default: 'false'
runs:
using: 'node24'
main: 'dist/index.js'
branding:
icon: file-text
color: blue