-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yaml
40 lines (37 loc) · 1.06 KB
/
action.yaml
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
name: Conventional Versioning
description: GitHub Action that returns a semantic version based on Conventional Commits
branding:
icon: tag
color: blue
inputs:
github-token:
description: GitHub token
default: ${{ github.token }}
default-bump:
description: Default version bump (major, minor, or patch)
default: patch
ignore-prereleases:
description: Ignore prereleases when calculating the next version (true or false)
default: false
ignore-drafts:
description: Ignore draft releases when calculating the next version (true or false)
default: false
mode:
description: Sets the version mode to run - future use-case
default: default
outputs:
version:
description: Semantic version without prefix
version-with-prefix:
description: Semantic version with prefix
major:
description: Major version number
major-with-prefix:
description: Major version number with prefix
minor:
description: Minor version number
patch:
description: Patch version number
runs:
using: "node20"
main: "dist/index.js"