Skip to content

Commit 43a9882

Browse files
authored
Add release drafter (#1)
1 parent 2ecc4c4 commit 43a9882

File tree

2 files changed

+39
-0
lines changed

2 files changed

+39
-0
lines changed

.github/release-drafter.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name-template: "v$NEXT_PATCH_VERSION"
2+
tag-template: "v$NEXT_PATCH_VERSION"
3+
4+
categories:
5+
- title: "Breaking Changes"
6+
labels: [breaking]
7+
- title: "Features"
8+
labels: [enhancement]
9+
- title: "Fixes"
10+
labels: [bug]
11+
- title: "Documentation"
12+
labels: [documentation]
13+
- title: "Maintenance"
14+
labels: [maintenance, dependencies]
15+
16+
include-labels:
17+
- "breaking"
18+
- "enhancement"
19+
- "bug"
20+
- "documentation"
21+
- "maintenance"
22+
- "dependencies"
23+
24+
template: |
25+
$CHANGES
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Release Drafter
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
update_release_draft:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: release-drafter/[email protected]
13+
env:
14+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)