-
Notifications
You must be signed in to change notification settings - Fork 7.8k
chore: upgrade to cli/oauth@v1.2.1
#12337
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
The new version ships with fixes to handling of `slow_down` errors. (See https://github.com/cli/oauth/releases/tag/v1.2.1) Signed-off-by: Babak K. Shandiz <babakks@github.com>
Signed-off-by: Babak K. Shandiz <babakks@github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR upgrades the github.com/cli/oauth dependency from v1.2.0 to v1.2.1, incorporating fixes for handling slow_down errors in OAuth flows.
Key Changes:
- Updated dependency version in go.mod from v1.2.0 to v1.2.1
- Added corresponding checksum entries in go.sum for the new version
- Updated license references across all platform-specific third-party license documentation files
Reviewed changes
Copilot reviewed 4 out of 5 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| go.mod | Updates the oauth dependency version requirement to v1.2.1 |
| go.sum | Adds checksums for the new v1.2.1 version of github.com/cli/oauth |
| third-party-licenses.windows.md | Updates oauth license reference URL from v1.2.0 to v1.2.1 |
| third-party-licenses.linux.md | Updates oauth license reference URL from v1.2.0 to v1.2.1 |
| third-party-licenses.darwin.md | Updates oauth license reference URL from v1.2.0 to v1.2.1 |
The changes are straightforward, consistent across all files, and properly implement the dependency upgrade. No issues were identified during the review.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Signed-off-by: Babak K. Shandiz <babakks@github.com>
|
Merging as the CI failure is not related to this PR. |
This MR contains the following updates: | Package | Update | Change | |---|---|---| | [cli/cli](https://github.com/cli/cli) | minor | `v2.83.2` → `v2.85.0` | 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.85.0`](https://github.com/cli/cli/releases/tag/v2.85.0): GitHub CLI 2.85.0 [Compare Source](cli/cli@v2.83.2...v2.85.0) #### What's Changed ##### ✨ Features - Add gh browse --actions flag by [@​rneatherway](https://github.com/rneatherway) in [#​12091](cli/cli#12091) - feat: allow git remote names in gh repo set-default by [@​majiayu000](https://github.com/majiayu000) in [#​12377](cli/cli#12377) ##### 🐛 Fixes - Fix Debian CLI package link in installation guide by [@​andyfeller](https://github.com/andyfeller) in [#​12291](cli/cli#12291) - fix: prevent panic when processing null project items by [@​chrishenzie](https://github.com/chrishenzie) in [#​12324](cli/cli#12324) ##### 📚 Docs & Chores - chore: upgrade to `cli/oauth@v1.2.1` by [@​babakks](https://github.com/babakks) in [#​12337](cli/cli#12337) - ci: upgrade to GoReleaser `v2` by [@​babakks](https://github.com/babakks) in [#​12318](cli/cli#12318) - CI: Update Azure Code Signing client to 1.0.95 by [@​BagToad](https://github.com/BagToad) in [#​12424](cli/cli#12424) - CI: Update Azure Code Signing endpoint URL by [@​BagToad](https://github.com/BagToad) in [#​12425](cli/cli#12425) - ci: tag per build job by [@​babakks](https://github.com/babakks) in [#​12428](cli/cli#12428) - CI: Add shell specification for temporary tag creation on Windows by [@​BagToad](https://github.com/BagToad) in [#​12429](cli/cli#12429) - Bump sigstore-go to v1.1.4 by [@​williammartin](https://github.com/williammartin) in [#​12289](cli/cli#12289) - Update actions/checkout to v6 in extension workflow templates by [@​fchimpan](https://github.com/fchimpan) in [#​12393](cli/cli#12393) - ci: enable noop linters by [@​babakks](https://github.com/babakks) in [#​12440](cli/cli#12440) #####Dependencies - chore(deps): bump golang.org/x/sync from 0.18.0 to 0.19.0 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​12274](cli/cli#12274) - chore(deps): bump golang.org/x/text from 0.31.0 to 0.32.0 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​12281](cli/cli#12281) - chore(deps): bump golang.org/x/term from 0.37.0 to 0.38.0 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​12282](cli/cli#12282) - chore(deps): bump github.com/spf13/cobra from 1.10.1 to 1.10.2 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​12255](cli/cli#12255) - chore(deps): bump github.com/gdamore/tcell/v2 from 2.13.1 to 2.13.2 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​12262](cli/cli#12262) - chore(deps): bump golangci/golangci-lint-action from 9.1.0 to 9.2.0 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​12252](cli/cli#12252) - chore(deps): bump github.com/gdamore/tcell/v2 from 2.13.2 to 2.13.4 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​12302](cli/cli#12302) - chore(deps): bump golang.org/x/crypto from 0.45.0 to 0.46.0 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​12300](cli/cli#12300) - chore(deps): bump actions/attest-build-provenance from 3.0.0 to 3.1.0 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​12339](cli/cli#12339) - chore(deps): bump github.com/yuin/goldmark from 1.7.13 to 1.7.16 by [@​dependabot](https://github.com/dependabot)\[bot] in [#​12452](cli/cli#12452) #### New Contributors - [@​chrishenzie](https://github.com/chrishenzie) made their first contribution in [#​12324](cli/cli#12324) - [@​fchimpan](https://github.com/fchimpan) made their first contribution in [#​12393](cli/cli#12393) - [@​majiayu000](https://github.com/majiayu000) made their first contribution in [#​12377](cli/cli#12377) **Full Changelog**: <cli/cli@v2.83.2...v2.85.0> </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever MR becomes conflicted, 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:eyJjcmVhdGVkSW5WZXIiOiI0Mi44MS4yIiwidXBkYXRlZEluVmVyIjoiNDIuODEuMiIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiUmVub3ZhdGUgQm90IiwiYXV0b21hdGlvbjpib3QtYXV0aG9yZWQiLCJkZXBlbmRlbmN5LXR5cGU6Om1pbm9yIl19-->
Related to #9370
This PR upgrades
github.com/cli/oauthtov1.2.1.The new version ships with fixes to handling of
slow_downerrors (See https://github.com/cli/oauth/releases/tag/v1.2.1).