Skip to content

fix: revert autolabeler to release-drafter v6.4.0#115

Merged
jmeridth merged 1 commit intomainfrom
jm/revert-autolabeler-to-v6
Mar 17, 2026
Merged

fix: revert autolabeler to release-drafter v6.4.0#115
jmeridth merged 1 commit intomainfrom
jm/revert-autolabeler-to-v6

Conversation

@jmeridth
Copy link
Copy Markdown
Collaborator

What

Reverted the auto-labeler workflow from the release-drafter v7 autolabeler sub-action back to the v6.4.0 main action with disable-releaser: true.

Why

The v7 autolabeler sub-action hardcodes a strict check for the pull_request event and rejects pull_request_target. Since this reusable workflow is called from a pull_request_target trigger (required for labeling fork PRs with write permissions), the autolabeler fails on every fork PR.

Notes

  • The v6 action uses GITHUB_TOKEN via env rather than the token input — this is how v6 expected auth to be configured
  • release-drafter v7 is still used in the release workflow; only the autolabeler is pinned to v6
  • Worth opening an upstream issue on release-drafter to support pull_request_target in the v7 autolabeler

## What

Reverted the auto-labeler workflow from the release-drafter v7 autolabeler
sub-action back to the v6.4.0 main action with disable-releaser: true.

## Why

The v7 autolabeler sub-action hardcodes a strict check for the pull_request
event and rejects pull_request_target. Since this reusable workflow is called
from a pull_request_target trigger (required for labeling fork PRs with write
permissions), the autolabeler fails on every fork PR.

## Notes

- The v6 action uses GITHUB_TOKEN via env rather than the token input
- release-drafter v7 is still used in the release workflow; only the autolabeler is pinned to v6
- Consider opening an upstream issue on release-drafter to support pull_request_target in the v7 autolabeler

Signed-off-by: jmeridth <jmeridth@gmail.com>
@jmeridth jmeridth requested a review from zkoppert as a code owner March 17, 2026 03:30
@github-actions github-actions bot added the repo label Mar 17, 2026
@jmeridth jmeridth merged commit 6381f5d into main Mar 17, 2026
9 of 10 checks passed
@jmeridth jmeridth deleted the jm/revert-autolabeler-to-v6 branch March 17, 2026 03:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant