forked from googleapis/release-please-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
172 lines (171 loc) · 8.03 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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
name: 'release-please-action'
description: 'automated releases based on conventional commits'
author: Google LLC
inputs:
token:
description: 'GitHub token for creating and grooming release PRs, defaults to using secrets.GITHUB_TOKEN'
required: false
default: ${{ github.token }}
fork:
description: 'should the PR be proposed from a fork, Default to false'
required: false
default: false
clean:
description: 'Should stale release PRs be closed post release? Defaults to true'
required: false
default: true
package-name:
description: 'name of the distributions releases are being created for, e.g., "name" in package.json, or "setup.py"'
required: false
release-type:
description: 'what type of release is this, one of (ruby, python, node, terraform-module)'
required: true
bump-minor-pre-major:
description: 'should breaking changes before 1.0.0 produce minor bumps'
required: false
default: false
bump-patch-for-minor-pre-major:
description: 'should feat changes before 1.0.0 produce patch bumps instead of minor bumps'
required: false
default: false
path:
description: "create a release from a path other than the repository's root"
required: false
default: ''
changelog-path:
description: 'specify a CHANGELOG path other than the root CHANGELOG.md'
required: false
default: ''
changelog-host:
description: 'The proto://host where commits live.'
required: false
default: ${{ github.server_url }}
command:
description: 'release-please command to run, either "github-release", or "release-pr" (defaults to running both)'
required: false
default: ''
version-file:
description: 'provide a path to a version file to increment (used by ruby releaser)'
required: false
default: ''
extra-files:
description: 'extra files to bump using the generic updater'
required: false
default: ''
default-branch:
description: 'branch to open pull release PR against (detected by default)'
required: false
default: ''
changelog-types:
description: 'changlelog commit types'
required: false
default: ''
config-file:
description: 'where can the config file be found in the project?'
required: false
default: ''
manifest-file:
description: 'where can the manifest file be found in the project?'
required: false
default: ''
signoff:
description: 'Add [`Signed-off-by`](https://git-scm.com/docs/git-commit#Documentation/git-commit.txt---signoff) line at the end of the commit log message using the user and email provided. (format "Name \<email@example.com\>")'
required: false
default: ''
github-api-url:
description: 'configure github API URL. Default `https://api.github.com`'
required: false
default: ${{ github.api_url }}
github-graphql-url:
description: 'configure github GraphQL URL. Default `https://api.github.com`'
required: false
default: ${{ github.graphql_url }}
repo-url:
description: 'configure github repository URL. Default `process.env.GITHUB_REPOSITORY`'
required: false
default: ''
monorepo-tags:
description: 'add prefix to tags and branches, allowing multiple libraries to be released from the same repository'
required: false
default: false
pull-request-title-pattern:
description: 'add title pattern to make release PR, defaults to using "chore${scope}: release${component} ${version}"'
required: false
pull-request-header:
description: 'set release PR header, defaults to using ":robot: I have created a release *beep* *boop*"'
required: false
draft:
description: 'mark release as a draft'
required: false
draft-pull-request:
description: 'mark pull request as a draft'
required: false
changelog-notes-type:
description: "Strategy for building the changelog contents(see https://github.com/googleapis/release-please/blob/main/docs/customizing.md#changelog-types). Default `default`. Called `changelog-type` in release-please documentation."
required: false
versioning-strategy:
description: 'Override method of determining SemVer version bumps based on commits (drr https://github.com/googleapis/release-please/blob/main/docs/customizing.md#versioning-strategies). Default `default`'
required: false
release-as:
description: 'manually set version to this value, ignoring conventional commits. Absence defaults to conventional commits derived next version. Once the release PR is merged you should either remove this or update it to a higher version. Otherwise subsequent `manifest-pr` runs will continue to use this version even though it was already set in the last release.'
required: false
skip-github-release:
description: 'Skip creating GitHub Releases. Default `false`'
required: false
prerelease:
description: 'If set, create releases that are pre-major or pre-release version marked as pre-release on Github. Defaults `false`'
required: false
component:
description: 'name of the component used for branch naming and release tagging, defaults to a normalized version based on the package name'
required: false
include-v-in-tag:
description: 'include "v" in tag versions. Default `true`'
required: false
tag-separator:
description: 'configures separator character used in release tag'
required: false
snapshot-labels:
description: 'sets java snapshot pull request labels other than `autorelease: snapshot` '
required: false
bootstrap-sha:
description: 'if this is the first time running `manifest-pr` on a repo this key will limit how far back (exclusive) to pull commits for conventional commit parsing (see the manifest releaser docs https://github.com/googleapis/release-please/blob/main/docs/manifest-releaser.md)'
required: false
last-release-sha:
description: 'overrides the commit sha release-please will use from which to gather commits for the current release (see the manifest releaser docs https://github.com/googleapis/release-please/blob/main/docs/manifest-releaser.md)'
required: false
always-link-local:
description: 'when using the `node-workspace` plugin, setting to false will only bump your local dependencies within the SemVer range (see the manifest releaser docs)[https://github.com/googleapis/release-please/blob/main/docs/manifest-releaser.md) . Default `true`.'
required: false
separate-pull-requests:
description: 'create separate pull requests for each package instead of a single manifest release pull request (see the manifest releaser docs https://github.com/googleapis/release-please/blob/main/docs/manifest-releaser.md). Default `false`.'
required: false
plugins:
description: 'see https://github.com/googleapis/release-please/blob/main/docs/manifest-releaser.md#plugins'
required: false
labels:
description: 'list of labels to apply to the release pull requests, defaults to `autorelease: pending`'
required: false
release-labels:
description: 'set a pull request label other than `autorelease: tagged`'
required: false
skip-labeling:
description: 'if set, labels will not be applied to pull requests. Default `false`.'
required: false
sequential-calls:
description: 'issue GitHub API requests sequentially rather than concurrently (see the manifest releaser docs https://github.com/googleapis/release-please/blob/main/docs/manifest-releaser.md). Default `false`'
required: false
group-pull-request-title-pattern:
description: 'sets the manifest pull request title for when releasing multiple packages grouped together in the one pull request'
required: false
release-search-depth:
description: 'when searching for the latest release SHAs, only consider the last N releases'
required: false
commit-search-depth:
description: 'when fetching the list of commits to consider, only consider the last N commits'
required: false
proxy-server:
description: 'set proxy sever when you run this action behind a proxy. format is host:port e.g. proxy-host.com:8080'
required: false
runs:
using: 'node16'
main: 'dist/index.js'