Skip to content

Commit 05e1bff

Browse files
authored
fix: Fix changelog config (#5192)
Fix and simplify our changelog config. We weren't escaping parentheses properly (it needs two backslashes). - get rid of all but `Changelog:` labels - match on the word boundary of the first word of the commit message and ignore scope completely since it's not relevant #### Issues <!-- * resolves: #1234 * resolves: LIN-1234 --> #### Reminders - Please add tests to validate your changes, and lint your code using `tox -e linters`. - Add GH Issue ID _&_ Linear ID (if applicable) - PR title should use [conventional commit](https://develop.sentry.dev/engineering-practices/commit-messages/#type) style (`feat:`, `fix:`, `ref:`, `meta:`) - For external contributors: [CONTRIBUTING.md](https://github.com/getsentry/sentry-python/blob/master/CONTRIBUTING.md), [Sentry SDK development docs](https://develop.sentry.dev/sdk/), [Discord community](https://discord.gg/Ww9hbqr)
1 parent 76aaac7 commit 05e1bff

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

.github/release.yml

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,13 @@ changelog:
88
- title: New Features ✨
99
labels:
1010
- "Changelog: Feature"
11-
- Feature
12-
- Improvement
13-
- New Integration
1411
commit_patterns:
15-
- "^feat(\([a-zA-Z0-9_-]+\))?:"
12+
- "^feat\\b"
1613
- title: Bug Fixes 🐛
1714
labels:
1815
- "Changelog: Bugfix"
19-
- Bug
2016
commit_patterns:
21-
- "^(fix|bugfix)(\([a-zA-Z0-9_-]+\))?:"
17+
- "^(fix|bugfix)\\b"
2218
- title: Deprecations 🏗️
2319
labels:
2420
- "Changelog: Deprecation"
@@ -27,13 +23,10 @@ changelog:
2723
- title: Documentation 📚
2824
labels:
2925
- "Changelog: Docs"
30-
- Docs
31-
- "Component: Docs"
3226
commit_patterns:
33-
- "^docs(\([a-zA-Z0-9_-]+\))?:"
27+
- "^docs?\\b"
3428
- title: Internal Changes 🔧
3529
labels:
3630
- "Changelog: Internal"
37-
- Quality Improvement
3831
commit_patterns:
39-
- "^(build|ref|chore|ci|tests|test)(\([a-zA-Z0-9_-]+\))?:"
32+
- "^(build|ref|chore|ci|tests?)\\b"

0 commit comments

Comments
 (0)