File tree Expand file tree Collapse file tree 2 files changed +56
-17
lines changed Expand file tree Collapse file tree 2 files changed +56
-17
lines changed Original file line number Diff line number Diff line change 1
- name-template : ' Release v${{NEXT_VERSION }}'
2
- tag-template : ' v${{NEXT_VERSION }}'
1
+ name-template : ' Release v${{ env.RELEASE_VERSION }}'
2
+ tag-template : ' v${{ env.RELEASE_VERSION }}'
3
3
categories :
4
4
- title : ' 🚀 Features'
5
5
labels :
6
6
- ' feature'
7
- - ' enhancement '
7
+ collapse-after : 3
8
8
- title : ' 🐛 Bug Fixes'
9
9
labels :
10
10
- ' fix'
11
11
- ' bugfix'
12
12
- ' bug'
13
+ collapse-after : 3
13
14
- title : ' 🧰 Maintenance'
14
15
labels :
15
16
- ' chore'
16
17
- ' maintenance'
17
- change-template : ' - $TITLE @$AUTHOR (#$NUMBER)'
18
- change-title-escapes : ' \<*_&'
19
- version-resolver :
20
- major :
18
+ collapse-after : 3
19
+ - title : ' 🔨 Refactor'
21
20
labels :
22
- - ' major'
23
- minor :
21
+ - ' refactor'
22
+ - ' refactoring'
23
+ collapse-after : 3
24
+ - title : ' 🧪 Testing'
24
25
labels :
25
- - ' minor'
26
- patch :
26
+ - ' tests'
27
+ - ' testing'
28
+ - ' test'
29
+ - ' unittest'
30
+ - ' pytest'
31
+ collapse-after : 3
32
+ - title : ' 📚 Documentation'
27
33
labels :
28
- - ' patch'
29
- default : patch
30
- template : |
31
- ## Changes
34
+ - ' docs'
35
+ - ' documentation'
36
+ collapse-after : 3
37
+ - title : ' 🔒 Security'
38
+ labels :
39
+ - ' security'
40
+ - ' vulnerability'
41
+ - ' vulnerabilities'
42
+ - ' security-fix'
43
+ - ' security-fixes'
44
+ - ' security-update'
45
+ - ' security-updates'
46
+ - ' security-patch'
47
+ - ' security-patches'
48
+ - ' security-release'
49
+ - ' security-releases'
50
+ - ' security-issue'
51
+ - ' security-issues'
52
+ - ' security-bug'
53
+ - ' security-bugs'
54
+ - ' security-vulnerability'
55
+ - ' security-vulnerabilities'
56
+ - ' security-notice'
57
+ - ' security-notices' `
58
+ collapse-after: 3
59
+ - title: 'Enhancement'
60
+ collapse-after: 3
61
+ change-template: '- $TITLE by @$AUTHOR in (#$NUMBER)'
62
+ change-title-escapes: '\< *_&'
32
63
64
+ template: |
65
+ ## What’s Changed
33
66
$CHANGES
67
+
68
+ ## New Contributors
69
+ $CONTRIBUTORS
Original file line number Diff line number Diff line change 78
78
TWINE_PASSWORD : ${{ secrets.TEST_PYPI_PASSWORD }}
79
79
80
80
create-release :
81
- needs : build-and-publish
82
- if : needs.build -and-publish .outputs.publish_to_pypi == 'true'
81
+ needs : [prepare-and-check, build-and-publish]
82
+ if : needs.prepare -and-check .outputs.publish_to_pypi == 'true'
83
83
runs-on : ubuntu-latest
84
84
steps :
85
85
- uses : actions/checkout@v4
95
95
with :
96
96
inputs : ./dist/*.tar.gz ./dist/*.whl
97
97
98
+ - name : Set Release Version Env
99
+ run : echo "RELEASE_VERSION=${{ needs.prepare-and-check.outputs.version }}" >> $GITHUB_ENV
100
+
98
101
- name : Draft Release
99
102
id : draft_release
100
103
uses : release-drafter/release-drafter@v6
You can’t perform that action at this time.
0 commit comments