forked from TriPSs/conventional-changelog-action
-
Notifications
You must be signed in to change notification settings - Fork 2
/
action.yml
109 lines (88 loc) · 2.84 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
name: 'Conventional Changelog Action'
description: 'Bump version, tag commit and generates changelog with conventional commits.'
author: 'Tycho Bokdam'
runs:
using: 'node12'
main: 'src/index.js'
branding:
icon: 'edit'
color: 'red'
inputs:
github-token:
description: 'Github token'
required: true
git-message:
description: 'Commit message to use'
default: 'chore(release): {version}'
required: false
git-user-name:
description: 'The git user.name to use for the commit'
default: 'Conventional Changelog Action'
required: false
git-user-email:
description: 'The git user.email to use for the commit'
default: '[email protected]'
required: false
git-pull-method:
description: 'The git pull method used when pulling all changes from remote'
default: '--ff-only'
required: false
preset:
description: 'The preset from Conventional Changelog to use'
default: 'angular'
required: false
tag-prefix:
description: 'Prefix that is used for the git tag'
default: 'v'
required: false
output-file:
description: 'File to output the changelog to'
default: 'CHANGELOG.md'
required: false
release-count:
description: 'Number of releases to preserve in changelog'
default: '5'
required: false
version-file:
description: 'The path to the file that contains the version to bump (supports comma-separated list of file paths)'
default: './package.json'
required: false
version-file-type:
description: 'Specify an extension to handle version-file in case it has a custom extension'
required: false
version-path:
description: 'The place inside the version file to bump'
default: 'version'
required: false
skip-on-empty:
description: 'Do nothing when the changelog from the latest release is empty'
default: 'true'
required: false
skip-version-file:
description: 'Do not update the version file'
default: 'false'
required: false
skip-commit:
description: 'Do create a release commit'
default: 'false'
required: false
pre-commit:
description: 'Path to the pre-commit script file'
required: false
fallback-version:
description: 'The fallback version, if no older one can be detected, or if it is the first one'
default: '0.1.0'
config-file-path:
description: 'Path to the conventional changelog config file. If set, the preset setting will be ignored'
required: false
outputs:
changelog:
description: 'The generated changelog for the new version'
clean_changelog:
description: 'The generated changelog for the new version without the version name in it'
version:
description: 'The new version'
tag:
description: 'The name of the generated tag'
skipped:
description: 'boolean to check if this step have been skipped'