-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
42 lines (38 loc) · 1.23 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
name: 'Bump package version'
description: 'Bumping package version depending on keywords present in the commit message'
inputs:
cwd:
description: 'Path location of the package to bump.'
default: '.'
major-keywords:
description: 'Keywords triggering a major bump, separated by commas if more than one.'
default: '[Major]:'
minor-keywords:
description: 'Keywords triggering a minor bump, separated by commas if more than one.'
default: '[Minor]:'
patch-keywords:
description: 'Keywords triggering a patch bump, separated by commas if more than one.'
default: '[Patch]:'
should-default-to-patch:
description: 'If no keywords are present in the commits, bump anyway by doing a patch.'
default: 'false'
commit-user:
description: 'User for the version bump commit.'
default: ''
commit-user-email:
description: 'User email for the version bump commit.'
default: ''
debug:
description: 'Debug mode. Will display event github event data.'
default: 'false'
outputs:
bump-performed:
description: 'true if package.json has been bumped'
new-version:
description: 'Resolved new version'
runs:
using: 'node20'
main: 'dist/index.js'
branding:
icon: package
color: green