Skip to content

Commit 3379dc6

Browse files
Copilotshenxianpeng
andcommitted
fix: replace _extends with inline release-drafter config
Co-authored-by: shenxianpeng <3353385+shenxianpeng@users.noreply.github.com>
1 parent b696c1f commit 3379dc6

1 file changed

Lines changed: 89 additions & 1 deletion

File tree

.github/release-drafter.yml

Lines changed: 89 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,90 @@
11
# Configuration for Release Drafter: https://github.com/release-drafter/release-drafter
2-
_extends: .github
2+
# Inherited from https://github.com/cpp-linter/.github/blob/main/.github/release-drafter.yml
3+
name-template: 'v$RESOLVED_VERSION'
4+
tag-template: 'v$RESOLVED_VERSION'
5+
6+
# Emoji reference: https://gitmoji.carloscuesta.me/
7+
categories:
8+
- title: 💥 Breaking changes
9+
labels:
10+
- breaking
11+
- title: 🚨 Removed
12+
labels:
13+
- removed
14+
- title: ⚠️ Deprecated
15+
labels:
16+
- deprecated
17+
- title: 🚀 New features and improvements
18+
labels:
19+
- enhancement
20+
- feature
21+
- title: 🐛 Bug fixes
22+
labels:
23+
- bug
24+
- fix
25+
- bugfix
26+
- regression
27+
- title: 🌐 Localization and translation
28+
labels:
29+
- localization
30+
- title: 👷 Changes for developers
31+
labels:
32+
- developer
33+
- title: 📝 Documentation updates
34+
labels:
35+
- documentation
36+
- title: 👻 Maintenance
37+
labels:
38+
- chore
39+
- internal
40+
- maintenance
41+
- title: 🚦 Tests
42+
labels:
43+
- test
44+
- tests
45+
- title: ✍ Other changes
46+
# Default label used by Dependabot
47+
- title: 📦 Dependency updates
48+
labels:
49+
- dependencies
50+
collapse-after: 15
51+
exclude-labels:
52+
- no-changelog
53+
- skip-changelog
54+
- invalid
55+
56+
change-template: '- $TITLE by @$AUTHOR in #$NUMBER'
57+
# https://github.com/release-drafter/release-drafter?tab=readme-ov-file#version-resolver
58+
version-resolver:
59+
major:
60+
labels:
61+
- 'major'
62+
minor:
63+
labels:
64+
- 'minor'
65+
patch:
66+
labels:
67+
- 'patch'
68+
default: patch
69+
70+
template: |
71+
<!-- Optional: add a release summary here -->
72+
$CHANGES
73+
74+
**Full Changelog**: https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...v$RESOLVED_VERSION
75+
76+
autolabeler:
77+
- label: 'documentation'
78+
files:
79+
- '*.md'
80+
- '*.rst'
81+
branch:
82+
- '/docs{0,1}\/.+/'
83+
- label: 'bug'
84+
branch:
85+
- '/fix\/.+/'
86+
title:
87+
- '/fix/i'
88+
- label: 'enhancement'
89+
branch:
90+
- '/feature\/.+/'

0 commit comments

Comments
 (0)