Skip to content

Commit 30db329

Browse files
chore(deps): bump release-drafter/release-drafter from 6.4.0 to 7.0.0 (#109)
* chore(deps): bump release-drafter/release-drafter from 6.4.0 to 7.0.0 Bumps [release-drafter/release-drafter](https://github.com/release-drafter/release-drafter) from 6.4.0 to 7.0.0. - [Release notes](https://github.com/release-drafter/release-drafter/releases) - [Commits](release-drafter/release-drafter@6a93d82...3a7fb5c) --- updated-dependencies: - dependency-name: release-drafter/release-drafter dependency-version: 7.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * ci: migrate release-drafter usage to v7 breaking changes ## What Migrate auto-labeler workflow to the new dedicated autolabeler sub-action, switch both workflows from `GITHUB_TOKEN` env var to the `token` input, and convert the singular `label:` config key to `labels:` array syntax in the release-drafter config. ## Why Release-drafter v7 splits the autolabeler into its own action entrypoint, removes the `disable-releaser` input, and replaces the `GITHUB_TOKEN` env var with a `token` input. The singular `label:` key lost `array.single()` support in the Joi-to-Zod validation migration, making the array form the safer choice. ## Notes - The v7.0.0 tag resolves to the same commit SHA (`3a7fb5c8`) as the previously pinned version — the breaking changes are in action entrypoint routing and input validation, not the underlying commit - Callers of these reusable workflows need no changes since the `workflow_call` interface (inputs/secrets) is unchanged Signed-off-by: jmeridth <jmeridth@gmail.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: jmeridth <jmeridth@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: jmeridth <jmeridth@gmail.com>
1 parent 23927bf commit 30db329

3 files changed

Lines changed: 6 additions & 8 deletions

File tree

.github/release-drafter.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ categories:
2626
- "maintenance"
2727
- "revert"
2828
- title: "🏎 Performance"
29-
label: "performance"
29+
labels:
30+
- "performance"
3031
change-template: "- $TITLE @$AUTHOR (#$NUMBER)"
3132
version-resolver:
3233
major:

.github/workflows/auto-labeler.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,7 @@ jobs:
2222
uses: step-security/harden-runner@58077d3c7e43986b6b15fba718e8ea69e387dfcc # v2.15.1
2323
with:
2424
egress-policy: audit
25-
- uses: release-drafter/release-drafter@6a93d829887aa2e0748befe2e808c66c0ec6e4c7
26-
env:
27-
GITHUB_TOKEN: ${{ secrets.github-token }}
25+
- uses: release-drafter/release-drafter/autolabeler@3a7fb5c85b80b1dda66e1ccb94009adbbd32fce3 # v7.0.0
2826
with:
2927
config-name: ${{ inputs.config-name }}
30-
disable-releaser: true
28+
token: ${{ secrets.github-token }}

.github/workflows/release.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,12 @@ jobs:
5151
uses: step-security/harden-runner@58077d3c7e43986b6b15fba718e8ea69e387dfcc # v2.15.1
5252
with:
5353
egress-policy: audit
54-
- uses: release-drafter/release-drafter@6a93d829887aa2e0748befe2e808c66c0ec6e4c7
54+
- uses: release-drafter/release-drafter@3a7fb5c85b80b1dda66e1ccb94009adbbd32fce3 # v7.0.0
5555
id: release-drafter
56-
env:
57-
GITHUB_TOKEN: ${{ secrets.github-token }}
5856
with:
5957
config-name: ${{ inputs.release-config-name }}
6058
publish: ${{ inputs.publish }}
59+
token: ${{ secrets.github-token }}
6160
- name: Get the Short Tag
6261
id: get_tag_name
6362
run: |

0 commit comments

Comments
 (0)