forked from fregante/release-with-changelog
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
56 lines (55 loc) · 1.63 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
name: 'Release with Changelog'
branding:
icon: 'tag'
color: 'purple'
description: 'Create a GitHub relase with changelog for every tag you push'
inputs:
tag:
description: Specific tag to generate changelog against
required: false
token:
description: Personal access token (PAT) used to create releases
required: true
title:
description: Custom title for the release
required: false
exclude:
description: Regex to exclude commits based on their title (don't include the initial and final `/`)
required: false
default: ''
template:
description: Markdown template to be included in release notes
required: false
default: |
{commits}
{range}
commit-template:
description: Markdown template for each commit entry in release notes
required: false
default: '- {hash} {title}'
date-format:
description: Format of git date included in commit-template
required: false
default: 'short'
sort:
description: Specify if you want get changelog in reverse order
required: false
default: 'desc'
draft:
description: Set to true if you want to have draft release
required: false
default: 'false'
prerelease:
description: Set to true if you want to have prerelease instead release
required: false
default: 'false'
skip-on-empty:
description: Set to true to skip creating a release when all commits are excluded
required: false
default: 'false'
outputs:
skipped:
description: Will be set to true if skip-on-empty is enabled and a release was not created, false otherwise
runs:
using: 'node12'
main: 'distribution/index.js'