forked from amiiit/merge-bump-release
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaction.yml
34 lines (33 loc) · 1.26 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
name: 'merge-bump-release'
description: 'GitHub action to be applied on merged pull-request, to bump a semver and create a new release'
inputs:
github_token:
description: 'Secret GitHub token'
required: true
tag_prefix:
description: 'A prefix to add to the tag, defaults to empty'
required: false
default: ''
bump:
description: 'Bump type to determine which part of the SemVer will be increased. Can be one of: minor|feat or major|breaking or patch|fix. Will default to patch, unless other mechanisms of determining these were defined'
required: false
infer_bump_from_commit:
description: 'If set to true, looks for minor|feat or major|breaking or patch|fix in the commit in order to determine the bump.'
required: false
update_file:
description: 'Choose the file you want to update'
required: false
changelog:
description: 'Update changelog'
required: false
default: true
initial_release:
description: 'In case no release is present in the repo, which one should be the base release from which to bump - defaults to 0.0.0'
required: false
default: '0.0.0'
outputs:
next_version: # id of output
description: 'The next version name (including the prefix)'
runs:
using: 'node16'
main: 'dist/index.js'