-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
51 lines (48 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name: "Node PR Versioning"
description: "Upate node project version using githubs pull request labels"
author: "noowah"
branding:
icon: "git-pull-request"
color: "green"
inputs:
github-token:
description: "The GitHub token for authentication"
required: true
labels-minor:
description: "The label to update Minor version"
required: true
labels-major:
description: "The label to update Major version"
required: true
labels-patch:
description: "The label to update Patch version"
required: true
commit-message:
description: "The commit message"
required: false
default: "chore: version update {{version}} -> {{new-version}}"
skip-commit:
description: "Skip commit the changes to the repository"
required: false
default: "false"
path:
description: "The path to the package.json file"
required: false
create-tag:
description: "Create a tag using new version"
required: false
default: "false"
tag-name:
description: "Tag name"
required: false
default: "v{{version}}"
pr-number:
description: "The pull request number"
required: false
dry-run:
description: "Dry run the action"
required: false
default: "false"
runs:
using: "node20"
main: "dist/index.js"