Skip to content

Commit a7886d6

Browse files
committed
Release drafter
1 parent 3938a0d commit a7886d6

File tree

2 files changed

+46
-0
lines changed

2 files changed

+46
-0
lines changed

Diff for: .github/release-drafter.yml

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name-template: "v$RESOLVED_VERSION"
2+
tag-template: "v$RESOLVED_VERSION"
3+
template: |
4+
## What’s Changed
5+
$CHANGES
6+
categories:
7+
- title: "💥 Breaking changes"
8+
labels:
9+
- "breaking"
10+
- title: "🐞 Bug fixes"
11+
labels:
12+
- "bug"
13+
- title: "🔧 Dependency updates"
14+
labels:
15+
- "dependencies"
16+
- title: "🧹 Chores"
17+
labels:
18+
- "chore"
19+
- title: "📚 Documentation"
20+
labels:
21+
- "documentation"
22+
version-resolver:
23+
minor:
24+
labels:
25+
- "breaking"
26+
default: patch
27+
replacers:
28+
- search: "@renovate"
29+
replace: "@renovate-bot"
30+
# NOTE(gabro): this is to remove the redundant issue number added by hophop in the PR title
31+
- search: '/\* #\d+: (.+)/g'
32+
replace: "* $1"

Diff for: .github/workflows/release-drafter.yaml

+14
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/release-drafter@v5
13+
env:
14+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)