-
Notifications
You must be signed in to change notification settings - Fork 40
/
action.yml
105 lines (105 loc) · 3.56 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
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:
working_directory:
description: "Change to this directory before running"
required: false
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
devrelease:
description: "Non-negative integer for dev. release"
required: false
local_version:
description: "Bump only the local version portion"
required: false
default: "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: false
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_redirect_stderr:
description: "Redirect git output to stderr. Useful if you do not want git output in your changelog"
required: false
default: "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
check_consistency:
default: "false"
description: "check consistency among versions defined in commitizen configuration and version_files"
required: false
gpg_sign:
description: >
If true, use GPG to sign commits and tags (for git operations). Requires separate
setup of GPG key and passphrase in GitHub Actions (e.g. with the action
crazy-max/ghaction-import-gpg)
required: false
default: "false"
debug:
description: "If true, prints debug output to GitHub Actions stdout."
required: false
default: "false"
actor:
description: "The account that will be used to perform git operations, defaults to the GITHUB_ACTOR"
required: false