Skip to content

fix(ci): grant issues:write to remove_wip_label workflow#25339

Merged
pront merged 1 commit intomasterfrom
fix-remove-wip-label-perms
May 1, 2026
Merged

fix(ci): grant issues:write to remove_wip_label workflow#25339
pront merged 1 commit intomasterfrom
fix-remove-wip-label-perms

Conversation

@pront
Copy link
Copy Markdown
Member

@pront pront commented May 1, 2026

Summary

Grant issues: write to the Remove Work In Progress Label workflow so the removeLabel REST call succeeds.

The DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels/{name} endpoint requires issues: write per the GitHub REST API docs.

This was first observed when run 25135003048 attempted the call against #25057 — the first time all three preconditions held simultaneously: MEMBER reviewer, "work in progress" label present, and an approving review. Prior runs all bailed out earlier (CONTRIBUTOR reviewer or label not present).

How did you test this PR?

Tested in ci-sandbox:

Change Type

  • Bug fix

Is this a breaking change?

  • No

Does this PR include user facing changes?

  • Yes
  • No. A maintainer will apply the no-changelog label to this PR.

References

The github.rest.issues.removeLabel call (DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels/{name})
requires the issues:write permission per the GitHub REST API. The workflow
only declared pull-requests:write, so the call returned 403 the first time
all preconditions actually held simultaneously (MEMBER reviewer + label
present + approval).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@pront pront requested a review from a team as a code owner May 1, 2026 13:57
@github-actions github-actions Bot added the domain: ci Anything related to Vector's CI environment label May 1, 2026
@thomasqueirozb thomasqueirozb added the no-changelog Changes in this PR do not need user-facing explanations in the release changelog label May 1, 2026
@pront pront added this pull request to the merge queue May 1, 2026
Merged via the queue into master with commit 9c617a7 May 1, 2026
85 of 86 checks passed
@pront pront deleted the fix-remove-wip-label-perms branch May 1, 2026 14:18
@github-actions github-actions Bot locked and limited conversation to collaborators May 1, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

domain: ci Anything related to Vector's CI environment no-changelog Changes in this PR do not need user-facing explanations in the release changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants