Skip to content

Commit ac04316

Browse files
+ Release drafting setup
1 parent a6e938a commit ac04316

File tree

2 files changed

+64
-0
lines changed

2 files changed

+64
-0
lines changed

.github/release-drafter.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name-template: "v$RESOLVED_VERSION"
2+
tag-template: "v$RESOLVED_VERSION"
3+
template: |
4+
# What's Changed
5+
6+
$CHANGES
7+
8+
**Full Changelog**: https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...v$RESOLVED_VERSION
9+
10+
categories:
11+
- title: "New"
12+
label: "Type: Feature"
13+
14+
- title: "Bug Fixes"
15+
label: "Type: Bug"
16+
17+
- title: "Improvements"
18+
label: "Type: Enhancement"
19+
20+
- title: "Other changes"
21+
22+
- title: "Documentation"
23+
label: "Documentation"
24+
collapse-after: 5
25+
26+
version-resolver:
27+
major:
28+
labels:
29+
- "Type: Breaking"
30+
minor:
31+
labels:
32+
- "Type: Feature"
33+
patch:
34+
labels:
35+
- "Type: Bug"
36+
- "Documentation"
37+
- "Type: Security"
38+
39+
exclude-labels:
40+
- "Skip-Changelog"
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Release Drafter
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
permissions:
9+
contents: read
10+
11+
jobs:
12+
update_release_draft:
13+
permissions:
14+
contents: write
15+
pull-requests: read
16+
17+
runs-on: ubuntu-latest
18+
steps:
19+
# Drafts your next Release notes as Pull Requests are merged into "master"
20+
- uses: release-drafter/release-drafter@v5
21+
with:
22+
disable-autolabeler: true
23+
env:
24+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)