-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
41 lines (40 loc) · 1.36 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
name: 'Check version increase and create release'
branding:
icon: package
color: green
description: 'Checks if the version in package.json has increased, and if so, creates a new release'
inputs:
token:
description: 'GitHub token'
required: true
name:
description: "The name of the release"
required: false # If the body is missing the default value will be the new version
default: "v$newVersion"
body:
description: "The body of the release"
required: false
default: ""
draft:
description: "A boolean indicating that if the created release should be a draft"
required: false
default: "false"
pre-release:
description: "An enumeration indicating that if pre-release. Available values: true, false, auto"
required: false
default: "auto"
generate-release-note:
description: "A boolean indicating if a release note should be generated or not"
required: false
default: "true" # Generate the release note by default
tag-name:
description: The name of the tag to create
required: false
default: "$newVersion"
fail-on-unchanged-version:
description: A boolean indicating that if the action should fail when the version is not changed
required: false
default: "false" # The default value is set to true as it should be changed by the user
runs:
using: 'node16'
main: 'dist/index.js'