Skip to content

ci: Wire up Release Drafter autolabeler#2146

Merged
iMicknl merged 1 commit into
mainfrom
ci/wire-up-autolabeler
Jun 21, 2026
Merged

ci: Wire up Release Drafter autolabeler#2146
iMicknl merged 1 commit into
mainfrom
ci/wire-up-autolabeler

Conversation

@iMicknl

@iMicknl iMicknl commented Jun 21, 2026

Copy link
Copy Markdown
Owner

Problem

The autolabeler rules added in #2143 were never actually executed. The main release-drafter/release-drafter action only drafts releases — it parses the full config (hence the deprecation warnings in its logs) but does not apply labels. Labeling is a separate sub-action: release-drafter/release-drafter/autolabeler.

Consequences observed:

Since the changelog draft groups by label, an unlabeled merged PR falls into the uncategorized bucket — the exact drop we set out to fix.

Fix

  • Add a dedicated autolabel job (PRs only) using the release-drafter/release-drafter/autolabeler sub-action, with pull-requests: write.
  • Gate the existing update_release_draft job to push events, so each job only runs where it applies (no wasted draft run per PR).
  • Pin both to the same SHA (v7.4.0).

Follow-up to #2143 / #2144.

Verification

After merge I'll confirm a new PR gets labeled by github-actions (not manually). Also worth a separate cleanup: relabel #2144 ci -> code-quality, and deprecate the stale ci label (not part of the new scheme).

The autolabeler rules in release-drafter.yml were never executed: the
main release-drafter action only drafts releases, it does not apply
labels. Labeling is a separate sub-action
(release-drafter/release-drafter/autolabeler). As a result PRs were not
auto-labeled and the changelog grouping relied on manual labels.

Add a dedicated `autolabel` job (PRs only) using the autolabeler
sub-action, and gate the existing draft job to push events so each only
runs where it applies.
@iMicknl iMicknl requested a review from tetienne as a code owner June 21, 2026 17:24
@github-actions github-actions Bot added the code-quality Refactoring, performance, style, tests, CI, and chores label Jun 21, 2026
@iMicknl iMicknl merged commit 3885c67 into main Jun 21, 2026
11 checks passed
@iMicknl iMicknl deleted the ci/wire-up-autolabeler branch June 21, 2026 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

code-quality Refactoring, performance, style, tests, CI, and chores

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant