Skip to content
This repository was archived by the owner on Apr 11, 2024. It is now read-only.

Commit d707008

Browse files
committed
Added Release Drafter
1 parent a29b87d commit d707008

File tree

2 files changed

+59
-0
lines changed

2 files changed

+59
-0
lines changed

.github/release-drafter.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name-template: 'v$RESOLVED_VERSION 🌈'
2+
tag-template: 'v$RESOLVED_VERSION'
3+
4+
categories:
5+
- title: '🚀 Features'
6+
labels:
7+
- 'enhancement'
8+
- 'story'
9+
- 'story:task'
10+
- title: '🐛 Bug Fixes'
11+
labels:
12+
- 'bug'
13+
- title: '🔒 Security Changes'
14+
labels:
15+
- 'security'
16+
- title: '📚 Documentation Changes'
17+
labels:
18+
- 'documentation'
19+
- title: '🧰 Maintenance'
20+
labels:
21+
- 'tech:task'
22+
- 'ci'
23+
24+
exclude-labels:
25+
- 'skip:changelog'
26+
- 'trivial'
27+
28+
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
29+
30+
template: |
31+
## What’s Changed
32+
33+
$CHANGES
34+
35+
version-resolver:
36+
major:
37+
labels:
38+
- 'major'
39+
minor:
40+
labels:
41+
- 'minor'
42+
patch:
43+
labels:
44+
- 'patch'
45+
default: patch
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Draft Release
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
update_release_draft:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: release-drafter/release-drafter@v5
13+
env:
14+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)