Skip to content

Commit fdb953f

Browse files
authored
Merge pull request #197 from imaginer-dev/release
Release
2 parents 5240504 + bb8dfe8 commit fdb953f

File tree

2 files changed

+35
-4
lines changed

2 files changed

+35
-4
lines changed

โ€Ž.github/drafter-config.ymlโ€Ž

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name-template: 'v$RESOLVED_VERSION ๐ŸŒˆ'
2+
tag-template: 'v$RESOLVED_VERSION'
3+
categories:
4+
- title: '๐Ÿš€ Features'
5+
labels:
6+
- 'feature'
7+
- 'enhancement'
8+
- title: '๐Ÿ› Bug Fixes'
9+
labels:
10+
- 'fix'
11+
- 'bugfix'
12+
- 'bug'
13+
- title: '๐Ÿงฐ Maintenance'
14+
label: 'chore'
15+
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
16+
change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks.
17+
version-resolver:
18+
major:
19+
labels:
20+
- 'major'
21+
minor:
22+
labels:
23+
- 'minor'
24+
patch:
25+
labels:
26+
- 'patch'
27+
default: patch
28+
template: |
29+
## Changes
30+
31+
$CHANGES

โ€Ž.github/workflows/release-drafter.ymlโ€Ž

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
# pull_request event is required only for autolabeler
99
pull_request:
1010
# Only following types are handled by the action, but one can default to all as well
11-
types: [closed]
11+
types: [opened, reopened, synchronize]
1212
# pull_request_target event is required for autolabeler to support PRs from forks
1313
# pull_request_target:
1414
# types: [opened, reopened, synchronize]
@@ -34,8 +34,8 @@ jobs:
3434
# Drafts your next Release notes as Pull Requests are merged into "master"
3535
- uses: release-drafter/release-drafter@v6
3636
# (Optional) specify config name to use, relative to .github/. Default: release-drafter.yml
37-
# with:
38-
# config-name: my-config.yml
37+
with:
38+
config-name: drafter-config.yml
3939
# disable-autolabeler: true
4040
env:
41-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
41+
GITHUB_TOKEN: ${{ secrets.TOKEN }}

0 commit comments

Comments
ย (0)