From 87d7276ede6c1d329e2739fbc8f1461e293ae466 Mon Sep 17 00:00:00 2001 From: Pavlos Rontidis Date: Fri, 1 May 2026 09:56:50 -0400 Subject: [PATCH] fix(ci): grant issues:write to remove_wip_label workflow 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) --- .github/workflows/remove_wip_label.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/remove_wip_label.yml b/.github/workflows/remove_wip_label.yml index 7c30ee892a949..b4750b0f2b0d6 100644 --- a/.github/workflows/remove_wip_label.yml +++ b/.github/workflows/remove_wip_label.yml @@ -1,6 +1,7 @@ name: Remove Work In Progress Label permissions: + issues: write pull-requests: write on: