`gh pr edit`: Ensure empty arrays for reviewers in PR API calls by BagToad ยท Pull Request #12122 ยท cli/cli
Updated AddPullRequestReviews and RemovePullRequestReviews to send empty arrays instead of null values for reviewers and team_reviewers when no users or teams are specified, as required by the API.
AI review requested due to automatic review settings
November 7, 2025 21:00
BagToad
deleted the
kw/fix-always-send-reviewer-array
branch
tmeijn pushed a commit to tmeijn/dotfiles that referenced this pull request
Nov 14, 2025This MR contains the following updates: | Package | Update | Change | |---|---|---| | [cli/cli](https://github.com/cli/cli) | patch | `v2.83.0` -> `v2.83.1` | MR created with the help of [el-capitano/tools/renovate-bot](https://gitlab.com/el-capitano/tools/renovate-bot). **Proposed changes to behavior should be submitted there as MRs.** --- ### Release Notes <details> <summary>cli/cli (cli/cli)</summary> ### [`v2.83.1`](https://github.com/cli/cli/releases/tag/v2.83.1): GitHub CLI 2.83.1 [Compare Source](cli/cli@v2.83.0...v2.83.1) #### What's Changed ##### ๐ Fixes - `gh pr edit`: Ensure empty arrays for reviewers in MR API calls by [@​BagToad](https://github.com/BagToad) in [#​12122](cli/cli#12122) ##### ๐ Docs & Chores - Integrate license checks back into lint workflow by [@​BagToad](https://github.com/BagToad) in [#​12112](cli/cli#12112) - Update third-party licenses and dependencies by [@​BagToad](https://github.com/BagToad) in [#​12123](cli/cli#12123) #####Dependencies - chore(deps): bump golangci/golangci-lint-action from 8.0.0 to 9.0.0 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​12134](cli/cli#12134) **Full Changelog**: <cli/cli@v2.83.0...v2.83.1> </details> --- ### Configuration ๐ **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). ๐ฆ **Automerge**: Enabled. โป **Rebasing**: Whenever MR is behind base branch, or you tick the rebase/retry checkbox. ๐ **Ignore**: Close this MR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this MR, check this box --- This MR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNzMuMSIsInVwZGF0ZWRJblZlciI6IjQxLjE3My4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJSZW5vdmF0ZSBCb3QiXX0=-->
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