Skip to content

Commit 8848399

Browse files
committed
ci: lets go with auto release notes
1 parent 85dd23d commit 8848399

3 files changed

Lines changed: 34 additions & 29 deletions

File tree

.github/release-drafter.yml

Lines changed: 31 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -6,44 +6,56 @@ categories:
66
- 'feature'
77
- 'enhancement'
88
commit-matcher:
9-
- '/^feat:/'
9+
- '/^feat:/i'
1010
- title: '🐛 Bug Fixes'
1111
labels:
1212
- 'fix'
1313
- 'bugfix'
1414
- 'bug'
1515
commit-matcher:
16-
- '/^fix:/'
16+
- '/^fix:/i'
1717
- title: '📚 Documentation'
1818
labels:
1919
- 'documentation'
2020
commit-matcher:
21-
- '/^docs:/'
21+
- '/^docs:/i'
2222
- title: '🧰 Maintenance'
2323
labels:
2424
- 'chore'
2525
- 'maintenance'
2626
commit-matcher:
27-
- '/^chore:/'
28-
- '/^refactor:/'
29-
- title: 'Other'
27+
- '/^chore:/i'
28+
- '/^refactor:/i'
29+
- title: '🔧 Other Changes'
30+
labels:
31+
- 'other'
3032
commit-matcher:
31-
- '/.+/'
33+
- '/.+/' # Catch all for any commits that don't match above
34+
35+
change-template: '- $TITLE @$AUTHOR ($COMMIT)'
36+
37+
sort-by: 'title'
38+
sort-direction: 'ascending'
39+
40+
template: |
41+
## What's Changed
42+
$CHANGES
43+
44+
## 👥 Contributors
45+
$CONTRIBUTORS
46+
47+
**Full Changelog**: $COMPARE_URL
3248
33-
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
34-
change-title-escapes: '\<*_&'
49+
exclude-labels:
50+
- 'skip-changelog'
3551

3652
include-labels:
37-
- 'feature'
38-
- 'enhancement'
39-
- 'fix'
40-
- 'bugfix'
41-
- 'bug'
42-
- 'documentation'
43-
- 'maintenance'
53+
- '*'
4454

45-
include-commits: true
46-
include-pull-requests: true
55+
references:
56+
- main
57+
- master
58+
- production
4759

4860
version-resolver:
4961
major:
@@ -55,11 +67,4 @@ version-resolver:
5567
patch:
5668
labels:
5769
- 'patch'
58-
default: patch
59-
60-
template: |
61-
## What's Changed
62-
$CHANGES
63-
64-
## 👥 Contributors
65-
$CONTRIBUTORS
70+
default: patch

.github/workflows/ci_check_release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ jobs:
153153
154154
create_release:
155155
runs-on: ubuntu-latest
156-
needs: [ lint, type-check, test ] # Ensure lint, type-check, and test jobs have succeeded
156+
# needs: [ lint, type-check, test ] # Ensure lint, type-check, and test jobs have succeeded
157157
if: github.ref == 'refs/heads/main' # Only run on main branch
158158

159159
steps:
@@ -231,4 +231,4 @@ jobs:
231231
draft: false
232232
prerelease: false
233233
env:
234-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
234+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "python-template"
3-
version = "0.5.14"
3+
version = "0.5.15"
44
description = "Used to templatize python projects."
55
authors = ["Loïc Motheu <lmotheu@gmail.com>"]
66
readme = "README.md"

0 commit comments

Comments
 (0)