Repository navigation
Conversation
There was a problem hiding this comment.
Pull request overview
Migrates the repository’s Release Drafter automation from the v6 combined workflow to the v7 split architecture, separating release drafting (push-triggered) from PR autolabeling (PR-triggered, including fork support).
Changes:
- Split the former combined Release Drafter workflow into
release-drafter.yaml(push-only) and a newautolabeler.yaml(PR + PR-target with fork handling). - Bump pinned action SHAs to
release-drafter@v7.1.0andstep-security/harden-runner@v2.16.0, and remove legacy token/env usage and the debug concurrency step. - Remove the repo-local
.github/release-drafter.ymlconfiguration file.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
.github/workflows/release-drafter.yaml |
Updates to v7 action usage, push-only trigger, simplified concurrency/permissions. |
.github/workflows/autolabeler.yaml |
New workflow to run the v7 /autolabeler sub-action on PR events (including forks) with scoped permissions. |
.github/release-drafter.yml |
Deletes the repo-local Release Drafter/autolabeler configuration. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Release-drafter v7 removed the disable-releaser and disable-autolabeler inputs, replacing them with dedicated sub-actions. This commit: - Splits the combined workflow into two files: release-drafter.yaml (push-only, drafter) and autolabeler.yaml (PR events, autolabeler) - Updates to release-drafter v7.1.0 - Updates harden-runner to v2.16.0 - Removes the per-repo release-drafter config (falls back to org-level .github repo config) - Removes deprecated env GITHUB_TOKEN usage - Removes debug concurrency group step Co-authored-by: Claude <claude@anthropic.com> Signed-off-by: Matthew Watkins <mwatkins@linuxfoundation.org>
ModeSevenIndustrialSolutions
force-pushed
the
fix/release-drafter-v7-split
branch
from
March 19, 2026 14:46
9ee7501 to
5e6eae2
Compare
tykeal
approved these changes
Mar 19, 2026
tykeal
left a comment
Contributor
There was a problem hiding this comment.
Auto-approved by dependamerge
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Migrates release-drafter from v6 (combined workflow) to v7 (split architecture).
Release-drafter v7 removed the
disable-releaseranddisable-autolabelerinputs, replacing them with dedicated sub-actions. These inputs were left as dead code inaction.yml— accepted without warning but never acted upon (upstream bug report).Changes
release-drafter.yamlworkflow into two:release-drafter.yaml— push-only trigger, uses root drafter action,contents: writeautolabeler.yaml— PR trigger (bothpull_requestandpull_request_targetfor fork support), uses dedicated/autolabelersub-action,pull-requests: write+contents: read.github/release-drafter.ymlconfig (falls back to the org-level.githubrepo config)env: GITHUB_TOKENusage (v7 defaults to${{ github.token }}viatokeninput)Context
This is part of an org-wide migration. The same change is being applied to all lfreleng-actions repositories that have release-drafter configured. The canonical fix was first applied in lfreleng-actions/github2gerrit-action#172.
Security
The
pull_request_targettrigger in the autolabeler workflow is safe because: