You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Ready for Review Label workflow can fail after all CI has passed because the evaluate job tries to add the ready-for-review label with gh pr edit --add-label, but the workflow token does not have permission to mutate labels.
Event: pull_request_review submitted by CodeRabbit with REVIEW_STATE=approved
The job confirmed CodeRabbit review state: APPROVED
The job confirmed CI status: all_passed
It then failed while adding the label:
All conditions met. Adding ready-for-review label.
GraphQL: Resource not accessible by integration (addLabelsToLabelable)
Process completed with exit code 1.
Likely cause
.github/workflows/ready-for-review.yml currently declares:
Adding/removing labels through gh pr edit --add-label/--remove-label requires label mutation permission via issues: write, because PR labels are issue labels in GitHub's API.
Expected fix
Add issues: write to the workflow permissions, or change the label mutation path to one that has the required permissions.
This is not caused by the PR branch in #749; that PR only changes key-wallet-ffi files, and all code/test CI jobs are passing.
Activity