generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathaction.yml
67 lines (63 loc) · 2.34 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
name: 'Bump version using labels'
description: 'Provide a description here'
author: 'Xavier Chretien'
inputs:
patch_label:
description: Label used to update the minor version (x.x.PATCH)
default: 'version: Patch'
required: false
minor_label:
description: Label used to update the minor version (x.MINOR.0)
default: 'version: Minor'
required: false
major_label:
description: Label used to update the minor version (MAJOR.0.0)
default: 'version: Major'
required: false
look_for_key:
description: Key in the file that contains the version.
default: 'version'
required: false
file_path:
description: Path to the file that contains the version. Check the action README to find the supported files
required: true
use_tag_as_ref:
description: Use the tags of the repository to determine the latest version.
default: 'false'
required: false
reference_branch:
description: Use the specified branch to determine the latest version used. Ignored if `use_tag_as_ref` is true.
default: 'main'
required: false
comment:
description: Comment the pull request when the version is update or when there is an error. Set to `false` to disable.
default: 'true'
required: false
comment_message:
description: Message used for the comment. You can use '{old}' and '{new}' to display the ancient and new version. Ignored if `comment` is false.
default: 'Bump version from {old} to {new}'
required: false
commit:
description: Commit the changed file. Set to `false` to disable.
default: 'true'
required: false
commit_message:
description: Message used for the commit. You can use '{old}' and '{new}' to display the ancient and new version. Ignored if `commit` is false.
default: '[BOT] Bump version from {old} to {new}'
required: false
commit_user_name:
description: Name used for the commit user. Ignored if `commit` is false.
default: 'github-actions[bot]'
required: false
commit_user_email:
description: Email address used for the commit user. Ignored if `commit` is false.
default: 'github-actions[bot]@users.noreply.github.com'
required: false
outputs:
version:
description: Current/Updated version.
has_changed:
description: Boolean to indicate if the version have changed.
runs:
using: 'node16'
main: 'dist/index.js'