Skip to content

ci: fix release-drafter Maintenance category key - #3358

Merged
nkaradzhov merged 1 commit into
redis:masterfrom
nkaradzhov:chore-fix-release-drafter-labels
Jul 28, 2026
Merged

nkaradzhov merged 1 commit into
redis:masterfrom
nkaradzhov:chore-fix-release-drafter-labels

Conversation

@nkaradzhov

@nkaradzhov nkaradzhov commented Jul 22, 2026 •

Copy link
Copy Markdown
Collaborator

Description

The update_release_draft workflow fails on master because every module release-drafter config uses the singular label: key with a list of values in the Maintenance category. release-drafter's schema expects label to be a single string and labels to be the array form, so config parsing fails Zod validation:

categories[3].label: expected "string", invalid_type

(failing run)

Fix

Rename label: → labels: in the Maintenance category of all five configs (bloom, entraid, json, search, time-series). The other three categories in each file already correctly use labels:.

🤖 Generated with Claude Code


Note

Low Risk
CI-only YAML schema fix with no runtime or application behavior changes.

Overview
Fixes failing update_release_draft runs by correcting the Maintenance category in five module release-drafter configs (bloom, entraid, json, search, time-series).

Each file had label: with a list of values under 🧰 Maintenance, which breaks release-drafter’s schema (categories[3].label expected a string). The key is renamed to labels:, matching the other categories in the same files.

Reviewed by Cursor Bugbot for commit 22e6f7b. Bugbot is set up for automated code reviews on this repo. Configure here.

The Maintenance category in all module release-drafter configs used the
singular `label:` key with a list of values. release-drafter's schema
expects `label` to be a single string and `labels` to be the array form,
so config parsing failed Zod validation:

    categories[3].label: expected string, invalid_type

Rename `label:` to `labels:` in bloom, entraid, json, search, and
time-series configs so the release draft workflow parses again.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@nkaradzhov
nkaradzhov force-pushed the chore-fix-release-drafter-labels branch from 2ee6f55 to 22e6f7b Compare July 28, 2026 16:48
@nkaradzhov
nkaradzhov merged commit 6dc4bd3 into redis:master Jul 28, 2026
15 checks passed
@nkaradzhov
nkaradzhov deleted the chore-fix-release-drafter-labels branch July 28, 2026 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants