Skip to content

Commit c55c400

Browse files
authored
chore: Add commit_patterns to changelog config, remove auto-labeler (#5176)
### Description Adapting to the new `commit_patterns` changelog generation feature in Craft: https://github.com/getsentry/craft?tab=readme-ov-file#changelog-policies #### 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 254f618 commit c55c400

File tree

2 files changed

+10
-77
lines changed

2 files changed

+10
-77
lines changed

.github/release.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
# This configuration is used by Craft to categorize changelog entries based on
2-
# PR labels. To avoid some manual work, there is a PR labeling GitHub action in
3-
# .github/workflows/pr-labeler.yml that adds a changelog label to PRs based on
4-
# the title.
5-
61
changelog:
72
exclude:
83
labels:
@@ -16,19 +11,29 @@ changelog:
1611
- Feature
1712
- Improvement
1813
- New Integration
14+
commit_patterns:
15+
- "^feat(\([a-zA-Z0-9_-]+\))?:"
1916
- title: Bug Fixes 🐛
2017
labels:
2118
- "Changelog: Bugfix"
2219
- Bug
20+
commit_patterns:
21+
- "^(fix|bugfix)(\([a-zA-Z0-9_-]+\))?:"
2322
- title: Deprecations 🏗️
2423
labels:
2524
- "Changelog: Deprecation"
25+
commit_patterns:
26+
- "deprecat" # deprecation, deprecated
2627
- title: Documentation 📚
2728
labels:
2829
- "Changelog: Docs"
2930
- Docs
3031
- "Component: Docs"
32+
commit_patterns:
33+
- "^docs(\([a-zA-Z0-9_-]+\))?:"
3134
- title: Internal Changes 🔧
3235
labels:
3336
- "Changelog: Internal"
3437
- Quality Improvement
38+
commit_patterns:
39+
- "^(build|ref|chore|ci|tests|test)(\([a-zA-Z0-9_-]+\))?:"

.github/workflows/pr-labeler.yml

Lines changed: 0 additions & 72 deletions
This file was deleted.

0 commit comments

Comments
 (0)