forked from Sniddl/discord-commits
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
28 lines (27 loc) · 995 Bytes
/
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
name: Discord Commits
description: Send commit summary to Discord using custom templates
branding:
icon: bell
color: purple
inputs:
webhook:
description: discord webhook url without /github
required: true
message:
description: "A general message that is displayed for all commits. Defaults to the repo name."
embed:
description: "JSON string that accepts double braces for templates. Defaults to template's embed template"
include-extras:
description: "Boolean - Include extra embeds provided from templates."
template:
description: "The name of of a premade template."
last-commit-only:
description: "Boolean - only show the last commit."
commit-filters:
description: >-
One or more regular expressions used to filter commits. As long as at least one regex matches,
the commit is allowed through. The match is performed against only the first line (subject) of
the commit message.
runs:
using: node16
main: dist/index.js