Skip to content

Commit c04e6fa

Browse files
authored
Update release-drafter.yml
1 parent 26921ed commit c04e6fa

File tree

1 file changed

+46
-40
lines changed

1 file changed

+46
-40
lines changed
Lines changed: 46 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,50 @@
1-
name: Release Drafter
2-
uses: release-drafter/[email protected]
1+
- name: Release Drafter
2+
# You may pin to the exact commit or the version.
3+
# uses: release-drafter/release-drafter@06d4616a80cd7c09ea3cf12214165ad6c1859e67
4+
uses: release-drafter/[email protected]
5+
with:
6+
# 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.
37

4-
on:
5-
push:
6-
# branches to consider in the event; optional, defaults to all
7-
branches:
8-
- master
9-
- 4.0
8+
#config-name: # optional, default is release-drafter.yml
9+
# 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.
1010

11-
jobs:
12-
update_release_draft:
13-
runs-on: ubuntu-latest
14-
steps:
15-
# Drafts your next Release notes as Pull Requests are merged into "master"
16-
- uses: release-drafter/release-drafter@v5
17-
env:
18-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
11+
#name: # optional
12+
# 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.
1913

20-
name-template: '$NEXT_PATCH_VERSION 🌈'
21-
tag-template: '$NEXT_PATCH_VERSION'
22-
categories:
23-
- title: '🚀 Features'
24-
labels:
25-
- 'feature'
26-
- 'enhancement'
27-
- 'added'
28-
- title: '🐛 Bug Fixes'
29-
labels:
30-
- 'fix'
31-
- 'bugfix'
32-
- 'bug'
33-
- 'fixed'
34-
- title: '⚙️ Changes'
35-
labels:
36-
- 'changed'
37-
- 'dependencies'
38-
- title: '🧰 Removed'
39-
label: 'removed'
40-
change-template: '- $TITLE (#$NUMBER - thanks to @$AUTHOR)'
41-
template: |
42-
## Changes
14+
#tag: # optional
15+
# The version to be associated with the GitHub release that's created or updated. This will override any version calculated by the release-drafter.
4316

44-
$CHANGES
17+
#version: # optional
18+
# A boolean indicating whether the release being created or updated should be immediately published.
19+
20+
#publish: # optional, default is
21+
# A boolean indicating whether the relase being created or updated is a prerelease.
22+
23+
#prerelease: # optional, default is
24+
25+
change-template: '- $TITLE (#$NUMBER - thanks to @$AUTHOR)'
26+
name-template: '$NEXT_PATCH_VERSION 🌈'
27+
tag-template: '$NEXT_PATCH_VERSION'
28+
categories:
29+
- title: '🚀 Features'
30+
labels:
31+
- 'feature'
32+
- 'enhancement'
33+
- 'added'
34+
- title: '🐛 Bug Fixes'
35+
labels:
36+
- 'fix'
37+
- 'bugfix'
38+
- 'bug'
39+
- 'fixed'
40+
- title: '⚙️ Changes'
41+
labels:
42+
- 'changed'
43+
- 'dependencies'
44+
- title: '🧰 Removed'
45+
label: 'removed'
46+
47+
template: |
48+
## Changes
49+
50+
$CHANGES

0 commit comments

Comments
 (0)