forked from commitizen-tools/commitizen-action
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
73 lines (73 loc) · 2.41 KB
/
action.yml
File metadata and controls
73 lines (73 loc) · 2.41 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
name: 'Bump and changelog using commitizen'
description: 'Create a commit bumping the version of your project and creating a changelog file'
runs:
using: 'docker'
image: 'Dockerfile'
branding:
icon: 'git-commit'
color: 'purple'
outputs:
version:
description: 'New version'
inputs:
dry_run:
description: 'Run without creating commit, output to stdout'
required: false
commit:
description: 'If true a commit is created containing the bump changes'
required: false
default: "true"
push:
description: 'If true the bump commit is pushed to the remote repository'
required: false
default: "true"
merge:
description: >
If true, the bump commit is pushed to the remote repository even when the
action is run on the pull_request event, immediately merging the pull request
required: false
default: "false"
prerelease:
description: 'Set as prerelease version'
required: false
changelog:
description: 'Create changelog when bumping the version'
default: "true"
required: false
github_token:
description: 'Token for the repo. Can be passed in using $\{{ secrets.GITHUB_TOKEN }}'
required: true
repository:
description: 'Repository name to push. Default or empty value represents current github repository (${GITHUB_REPOSITORY})'
default: ''
required: false
branch:
description: 'Destination branch to push changes'
required: false
default: ''
extra_requirements:
description: 'Extra commitizen dependencies like your custom plugins or rules'
required: false
default: ''
changelog_increment_filename:
description: 'Filename to store the incremented generated changelog. This is different to changelog as it only contains the changes for the just generated version'
required: false
git_name:
description: 'Name used to configure git (for git operations)'
required: false
default: 'github-actions[bot]'
git_email:
description: 'Email address used to configure git (for git operations)'
required: false
default: 'github-actions[bot]@users.noreply.github.com'
commitizen_version:
description: 'Specify the version to be used by commitizen'
required: false
default: latest
no_raise:
description: "Don't raise the given comma-delimited exit codes"
required: false
default: '21'
increment:
description: "Manually specify the desired increment"
required: false