Skip to content

Commit e7429ce

Browse files
committed
Update release drafter configs
1 parent 1d8c619 commit e7429ce

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed

.github/release_drafter.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,26 @@ exclude-labels:
1616
- 'type/refactoring'
1717

1818
categories:
19+
- title: '🚩 Breaking Changes'
20+
labels:
21+
- 'impact/changelog'
22+
1923
- title: '⚙️Features'
2024
labels:
2125
- 'type/feature'
26+
2227
- title: '🪛Enhancements'
2328
labels:
2429
- 'type/enhancement'
30+
2531
- title: '🔨Bug Fixes'
2632
labels:
2733
- 'type/bug'
34+
2835
- title: 'Security'
2936
labels:
3037
- 'type/security'
38+
3139
- title: '⎈ Helm/K8S Changes'
3240
labels:
3341
- 'scope/k8s'

.github/workflows/release_drafter.yml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,33 @@ name: Release Drafter
22

33
on:
44
push:
5-
# branches to consider in the event; optional, defaults to all
65
branches:
76
- master
87
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
919

1020
jobs:
1121
update_release_draft:
1222
runs-on: ubuntu-latest
23+
permissions:
24+
contents: write
25+
pull-requests: write
1326
steps:
1427
- uses: release-drafter/release-drafter@v5
1528
with:
1629
config-name: release_drafter.yaml
1730
disable-autolabeler: true
31+
version: ${{ github.event.inputs.version }}
32+
commitish: ${{ github.event.inputs.branch }}
1833
env:
1934
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)