File tree Expand file tree Collapse file tree 2 files changed +24
-1
lines changed Expand file tree Collapse file tree 2 files changed +24
-1
lines changed Original file line number Diff line number Diff line change @@ -16,18 +16,26 @@ exclude-labels:
16
16
- ' type/refactoring'
17
17
18
18
categories :
19
+ - title : ' 🚩 Breaking Changes'
20
+ labels :
21
+ - ' impact/changelog'
22
+
19
23
- title : ' ⚙️Features'
20
24
labels :
21
25
- ' type/feature'
26
+
22
27
- title : ' 🪛Enhancements'
23
28
labels :
24
29
- ' type/enhancement'
30
+
25
31
- title : ' 🔨Bug Fixes'
26
32
labels :
27
33
- ' type/bug'
34
+
28
35
- title : ' Security'
29
36
labels :
30
37
- ' type/security'
38
+
31
39
- title : ' ⎈ Helm/K8S Changes'
32
40
labels :
33
41
- ' scope/k8s'
Original file line number Diff line number Diff line change @@ -2,18 +2,33 @@ name: Release Drafter
2
2
3
3
on :
4
4
push :
5
- # branches to consider in the event; optional, defaults to all
6
5
branches :
7
6
- master
8
7
workflow_dispatch :
8
+ inputs :
9
+ version :
10
+ description : ' Release version'
11
+ required : false
12
+ branch :
13
+ description : ' Target branch'
14
+ required : false
15
+ default : ' master'
16
+
17
+ permissions :
18
+ contents : read
9
19
10
20
jobs :
11
21
update_release_draft :
12
22
runs-on : ubuntu-latest
23
+ permissions :
24
+ contents : write
25
+ pull-requests : write
13
26
steps :
14
27
- uses : release-drafter/release-drafter@v5
15
28
with :
16
29
config-name : release_drafter.yaml
17
30
disable-autolabeler : true
31
+ version : ${{ github.event.inputs.version }}
32
+ commitish : ${{ github.event.inputs.branch }}
18
33
env :
19
34
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments