gh-action-bump-version/action.yml

84 lines
2.3 KiB
YAML
Raw Normal View History

2022-09-04 16:32:04 +00:00
name: Automated Version Bump
2019-10-26 20:29:08 +00:00
description: Automated version bump for npm packages.
2019-10-26 19:06:00 +00:00
runs:
2022-10-13 14:05:26 +00:00
using: node16
2021-08-08 01:28:27 +00:00
main: index.js
2019-10-26 19:06:00 +00:00
branding:
icon: chevron-up
color: blue
2019-11-20 12:37:42 +00:00
inputs:
tag-prefix:
description: 'Prefix that is used for the git tag'
default: ''
required: false
2022-11-20 20:50:01 +00:00
tag-suffix:
description: 'Suffix that is used for the git tag'
default: ''
required: false
2022-09-02 22:55:28 +00:00
version-type:
description: 'Overrides version type from commit message'
default: ''
required: false
minor-wording:
description: 'Words list that trigger a minor version bump'
default: 'feat,minor'
required: false
major-wording:
description: 'Words list that trigger a major version bump'
default: 'BREAKING CHANGE,major'
2021-07-01 19:36:19 +00:00
required: false
2020-10-09 16:55:11 +00:00
patch-wording:
description: 'Words list that trigger a patch version bump'
2021-07-01 19:36:19 +00:00
required: false
2020-10-09 16:55:11 +00:00
rc-wording:
2021-07-01 20:17:34 +00:00
description: 'Words list that trigger a rc version bump'
2020-10-09 16:55:11 +00:00
default: 'pre-alpha,pre-beta,pre-rc'
2021-07-01 19:36:19 +00:00
required: false
2020-09-06 11:13:52 +00:00
skip-tag:
description: 'Avoid to add a TAG to the version update commit'
default: 'false'
required: false
skip-commit:
description: 'Avoid to add a commit after the version is bumped'
default: 'false'
required: false
2021-12-09 03:20:01 +00:00
skip-push:
description: 'If true, skip pushing any commits or tags created after the version bump'
2023-10-18 13:13:27 +00:00
default: 'false'
2021-12-09 03:20:01 +00:00
required: false
2020-05-05 17:56:37 +00:00
PACKAGEJSON_DIR:
description: 'Custom dir to the package'
default: ''
required: false
2020-11-25 14:47:18 +00:00
target-branch:
description: 'A separate branch to perform the version bump on'
default: ''
required: false
2020-10-23 12:54:06 +00:00
default:
description: 'Set a default version bump to use'
default: 'patch'
required: false
2021-03-09 11:34:54 +00:00
preid:
description: 'Set a custom preid for prerelease build'
default: 'rc'
required: false
commit-message:
description: 'Set a custom commit message for version bump commit'
2021-03-03 01:51:36 +00:00
default: ''
required: false
2022-01-13 20:29:15 +00:00
bump-policy:
description: 'Set version bump ignore policy'
default: 'all'
required: false
check-last-commit-only:
2023-05-12 08:12:15 +00:00
description: 'Check only last commit message'
default: 'false'
required: false
2021-07-13 21:38:26 +00:00
push:
2021-12-09 03:20:01 +00:00
description: '[DEPRECATED] Set to false to skip pushing the new tag'
2021-07-13 21:38:26 +00:00
default: 'true'
required: false
2020-11-16 16:24:15 +00:00
outputs:
newTag:
description: 'The newly created tag'