Skip to content

Commit 89d657d

Browse files
authored
🎨 Add release drafter config name (#328)
1 parent 36be76e commit 89d657d

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.github/workflows/template_release_drafter.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ name: Release Drafter
33
on:
44
workflow_call:
55
inputs:
6+
config-name:
7+
required: false
8+
type: string
9+
default: "release-drafter.yml"
610
name:
711
required: false
812
type: string
@@ -52,6 +56,7 @@ jobs:
5256
- name: Update Release
5357
uses: release-drafter/[email protected]
5458
with:
59+
config-name: ${{ inputs.config-name }}
5560
name: ${{ inputs.name }}
5661
publish: ${{ inputs.publish }}
5762
tag: ${{ inputs.tag }}

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -383,6 +383,8 @@ jobs:
383383
update_release_draft:
384384
uses: Staffbase/gha-workflows/.github/workflows/[email protected]
385385
with:
386+
# optional: name of the release drafter configuration file, default: release-drafter.yml
387+
config-name: release-drafter-test.yml
386388
# optional: name of the release
387389
name: Version X.Y.Z
388390
# optional: should the release be published, default: false

0 commit comments

Comments
 (0)