Skip to content

Commit 76326e3

Browse files
Merge pull request #23 from wiremock/release_drafter
Add Release Drafter to the repository
2 parents f8a5f60 + d25f03e commit 76326e3

File tree

2 files changed

+78
-0
lines changed

2 files changed

+78
-0
lines changed

.github/release-drafter.yml

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
# Configuration for Release Drafter: https://github.com/toolmantim/release-drafter
2+
name-template: $NEXT_MINOR_VERSION
3+
tag-template: $NEXT_MINOR_VERSION
4+
5+
# Emoji reference: https://gitmoji.carloscuesta.me/
6+
categories:
7+
- title: 💥 Breaking changes
8+
labels:
9+
- breaking
10+
- title: 🚀 New features and improvements
11+
labels:
12+
- enhancement
13+
- title: 🐛 Bug fixes
14+
labels:
15+
- bug
16+
- title: 📝 Documentation updates
17+
labels:
18+
- documentation
19+
- title: 🌐 Localization and translation
20+
labels:
21+
- localization
22+
- title: 🌐 Community-related changes
23+
labels:
24+
- community
25+
- title: 👻 Maintenance
26+
labels:
27+
- chore
28+
- maintenance
29+
- title: 🚦 Tests
30+
labels:
31+
- test
32+
- title: ✍ Other changes
33+
# Default label used by Dependabot
34+
- title: 📦 Dependency updates
35+
labels:
36+
- dependencies
37+
collapse-after: 15
38+
exclude-labels:
39+
- skip-changelog
40+
- invalid
41+
42+
template: |
43+
<!-- Optional: add a release summary here -->
44+
$CHANGES
45+
46+
47+
autolabeler:
48+
- label: 'documentation'
49+
files:
50+
- '*.md'
51+
branch:
52+
- '/docs{0,1}\/.+/'
53+
- label: 'bug'
54+
branch:
55+
- '/fix\/.+/'
56+
title:
57+
- '/fix/i'
58+
- label: 'enhancement'
59+
branch:
60+
- '/feature\/.+/'
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
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+
with:
14+
name: next
15+
tag: next
16+
version: next
17+
env:
18+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)