forked from release-drafter/release-drafter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
96 lines (96 loc) · 3.51 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
name: 'Release Drafter'
description: 'Drafts your next release notes as pull requests are merged into master.'
runs:
using: 'node16'
main: 'dist/index.js'
branding:
icon: edit-2
color: orange
inputs:
config-name:
description: |
If your workflow requires multiple release-drafter configs it be helpful to override the config-name.
The config should still be located inside `.github` as that's where we are looking for config files.
required: false
default: 'release-drafter.yml'
name:
description: |
The name that will be used in the GitHub release that's created or updated.
This will override any `name-template` specified in your `release-drafter.yml` if defined.
required: false
tag:
description: |
The tag name to be associated with the GitHub release that's created or updated.
This will override any `tag-template` specified in your `release-drafter.yml` if defined.
required: false
version:
description: |
The version to be associated with the GitHub release that's created or updated.
This will override any version calculated by the release-drafter.
required: false
publish:
description: |
A boolean indicating whether the release being created or updated should be immediately published.
required: false
default: ''
latest:
description: |
A string indicating whether the release being created or updated should be marked as latest.
required: false
default: ''
prerelease:
description: |
A boolean indicating whether the release being created or updated is a prerelease.
required: false
default: ''
prerelease-identifier:
description: |
A string indicating an identifier (alpha, beta, rc, etc), to increment the prerelease version.
required: false
default: ''
commitish:
description: |
The object that the release should be created to point to.
required: false
default: ''
header:
description: |
A string that would be added before the template body.
required: false
default: ''
footer:
description: |
A string that would be added after the template body.
required: false
default: ''
disable-releaser:
description: |
A boolean indicating whether the releaser mode is disabled.
required: false
default: ''
disable-autolabeler:
description: |
A boolean indicating whether the autolabeler mode is disabled.
required: false
default: ''
outputs:
id:
description: The ID of therelease that was created or updated.
name:
description: The name of the release
tag_name:
description: The name of the tag associated with the release.
body:
description: The body of the drafted release.
html_url:
description: The URL users can navigate to in order to view the release
upload_url:
description: The URL for uploading assets to the release, which could be used by GitHub Actions for additional uses, for example the @actions/upload-release-asset GitHub Action.
major_version:
description: The next major version number. For example, if the last tag or release was v1.2.3, the value would be v2.0.0.
minor_version:
description: The next minor version number. For example, if the last tag or release was v1.2.3, the value would be v1.3.0.
patch_version:
description: The next patch version number. For example, if the last tag or release was v1.2.3, the value would be v1.2.4.
resolved_version:
description: The next resolved version number, based on GitHub labels.