mirror of
https://github.com/googleapis/release-please-action.git
synced 2026-03-26 22:22:24 +00:00
103 lines
3.5 KiB
YAML
103 lines
3.5 KiB
YAML
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: ''
|
|
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-graphql-url:
|
|
description: 'configure github GraphQL URL. Default `https://api.github.com`'
|
|
required: false
|
|
default: ''
|
|
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
|
|
default: ''
|
|
draft:
|
|
description: 'mark release as a draft'
|
|
required: false
|
|
default: false
|
|
draft-pull-request:
|
|
description: 'mark pull request as a draft'
|
|
required: false
|
|
default: false
|
|
|
|
runs:
|
|
using: 'node12'
|
|
main: 'dist/index.js'
|