Skip to content

Commit 033dd87

Browse files
authored
chore(release): add gh workflow for release-drafter (#23)
1 parent 91b36d8 commit 033dd87

3 files changed

Lines changed: 51 additions & 0 deletions

File tree

.github/release-drafter.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name-template: '$NEXT_PATCH_VERSION'
2+
tag-template: 'v$NEXT_PATCH_VERSION'
3+
prerelease: true
4+
categories:
5+
- title: 🚀 New Features and Improvements
6+
labels:
7+
- feature
8+
- enhancement
9+
- title: 🐛 Bug Fixes
10+
labels:
11+
- bug
12+
- title: 📝 Documentation
13+
label: documentation
14+
- title: 📦 Dependency updates
15+
labels:
16+
- dependencies
17+
- title: 👻 Maintenance
18+
labels:
19+
- chore
20+
- internal
21+
exclude-labels:
22+
- invalid
23+
- no-changelog
24+
- skip-changelog
25+
- reverted
26+
- wontfix
27+
template: |
28+
Thanks to all the contributors of this release 🌈: $CONTRIBUTORS
29+
30+
# What's Changed
31+
$CHANGES
32+
replacers:
33+
- search: '@dependabot-preview'
34+
replace: '@dependabot'

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,15 @@ on:
55
branches:
66
- develop
77
paths-ignore:
8+
- '.github/workflows/release-drafter.yml'
89
- '.gitignore'
910
- '*.md'
1011
- LICENSE
1112
pull_request:
1213
branches:
1314
- develop
1415
paths-ignore:
16+
- '.github/workflows/release-drafter.yml'
1517
- '.gitignore'
1618
- '*.md'
1719
- LICENSE
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Release Drafter
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
update_release_draft:
10+
runs-on: ubuntu-latest
11+
steps:
12+
# Drafts your next Release notes as Pull Requests are merged into "master"
13+
- uses: release-drafter/release-drafter@v5
14+
env:
15+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }

0 commit comments

Comments
 (0)