Skip to content

dev: Update module github.com/google/go-github/v89 to v91 - #203

Open
mm-renovate-bot[bot] wants to merge 1 commit into
mainfrom
renovate/github.com-google-go-github-v89-91.x
Open

dev: Update module github.com/google/go-github/v89 to v91#203
mm-renovate-bot[bot] wants to merge 1 commit into
mainfrom
renovate/github.com-google-go-github-v89-91.x

Conversation

@mm-renovate-bot

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/google/go-github/v89 v89.0.0v91.0.0 age adoption passing confidence

Release Notes

google/go-github (github.com/google/go-github/v89)

v91.0.0

Compare Source

This release contains the following breaking API changes:

  • refactor!: Rename EditComment to UpdateComment on PullRequestsService, split review comment request bodies, and pass by value (#​4493)
    BREAKING CHANGE: PullRequestsService.CreateComment now takes CreatePullRequestCommentRequest by value; PullRequestsService.EditComment is now UpdateComment and takes UpdatePullRequestCommentRequest by value.
  • refactor!: Split Key request bodies into CreateDeployKeyRequest, CreateUserKeyRequest and CreateSSHSigningKeyRequest and pass by value (#​4477)
    BREAKING CHANGE: RepositoriesService.CreateKey, UsersService.CreateKey and UsersService.CreateSSHSigningKey now take CreateDeployKeyRequest, CreateUserKeyRequest and CreateSSHSigningKeyRequest by value.
  • refactor!: Pass PendingDeploymentsRequest and ReviewCustomDeploymentProtectionRuleRequest by value (#​4475)
    BREAKING CHANGE: ActionsService.PendingDeployments and ActionsService.ReviewCustomDeploymentProtectionRule now take PendingDeploymentsRequest and ReviewCustomDeploymentProtectionRuleRequest by value.
  • refactor!: Rename EditComment to UpdateComment on IssuesService, pass a new IssueCommentRequest by value, and add missing IssueComment fields (#​4444)
    BREAKING CHANGE: IssuesService.CreateComment now takes IssueCommentRequest by value; IssuesService.EditComment is now UpdateComment and takes IssueCommentRequest by value.
  • refactor!: Rename ImpersonateUserOptions to CreateUserImpersonationRequest and pass by value (#​4462)
    BREAKING CHANGE: AdminService.CreateUserImpersonation now takes CreateUserImpersonationRequest by value instead of *ImpersonateUserOptions.
  • refactor!: Update teams create & update patterns (#​4446)
    BREAKING CHANGE: CreateTeam and UpdateTeamBy* now take new body params by value.
  • refactor!: Rename EditMilestone to UpdateMilestone, split Milestone request bodies into CreateMilestoneRequest and UpdateMilestoneRequest, and pass by value (#​4438)
    BREAKING CHANGE: IssuesService.CreateMilestone now takes a new CreateMilestoneRequest by value; IssuesService.EditMilestone is now UpdateMilestone and takes a new UpdateMilestoneRequest by value.
  • refactor!: Pass UpdatePreReceiveHook request body by value via new UpdatePreReceiveHookRequest (#​4434)
    BREAKING CHANGE: RepositoriesService.UpdatePreReceiveHook now takes a new UpdatePreReceiveHookRequest by value instead of *PreReceiveHook.
  • refactor!: Rename UsersService.Edit to Update, introduce UserUpdateRequest, and pass request by value (#​4433)
    BREAKING CHANGE: UsersService.Edit is now Update and uses a new UserUpdateRequest body value.
  • refactor!: Pass LDAP mapping request bodies by value via new UpdateUserLDAPMappingRequest and UpdateTeamLDAPMappingRequest (#​4432)
    BREAKING CHANGE: AdminService.UpdateUserLDAPMapping and UpdateTeamLDAPMapping now take UpdateUserLDAPMappingRequest and UpdateTeamLDAPMappingRequest (with non-pointer LDAPDN) by value.

...and the following additional changes:

  • chore: Bump version of go-github to v91.0.0 (#​4505)
  • build: Bump google.golang.org/grpc from 1.82.1 to 1.83.1 in /example in the go_modules group across 1 directory (#​4502)
  • feat: Add Copilot code review active user counts to metrics structs (#​4490)
  • feat: Add MergeAsync and GetMergeAsyncResult support (#​4491)
  • feat: Add Copilot app metrics to usage metrics structs (#​4488)
  • fix: Close the original response body on non-2xx responses (#​4486)
  • perf: Reduce allocations in Client.Do response decoding with a buffer pool (#​4494)
  • feat: Require Go 1.26 and use new(expr) for pointer literals (#​4481)
  • build: Bump github.com/getkin/kin-openapi from 0.146.0 to 0.147.0 in /tools (#​4495)
  • feat: Add enterprise Visual Studio subscription licensing APIs (#​4483)
  • feat: Add Copilot AI credits and adoption phase metrics (#​4480)
  • feat: Add Copilot 3rd-party agent metrics (#​4460)
  • chore: Remove stale paramcheck allowlist entries (#​4476)
  • feat: Add tools/list-return-structs (#​4478)
  • feat: Add agent tasks API support (#​4225)
  • chore: Consolidate Dependabot PRs (#​4474)
  • fix: Keep the public toggle on repository visibility rules (#​4455)
  • chore: Bump golang-ci-lint version to v2.13.1 (#​4463)
  • chore: Consolidate Dependabot PRs (#​4454)
  • fix: Adjust argument index for Fprintf in fmtpercentv linter check (#​4443)
  • chore: Consolidate Dependabot PRs (#​4442)
  • chore: Remove stale User entry from the paramcheck allowlist (#​4437)
  • feat: Add enterprise level secret scanning custom patterns support (#​4431)
  • chore: Update openapi_operations.yaml (#​4430)
  • chore: Bump go-github from v89 to v90 in /scrape (#​4429)

v90.0.0

Compare Source

This release contains the following breaking API changes:

  • refactor!: Pass UpdateConnectedExternalGroup request body by value via new UpdateConnectedExternalGroupRequest (#​4425)
    BREAKING CHANGE: TeamsService.UpdateConnectedExternalGroup now takes UpdateConnectedExternalGroupRequest (with non-pointer GroupID) by value.
  • refactor!: Rename PullRequestReviewDismissalRequest to PullRequestDismissReviewRequest, add PullRequestSubmitReviewRequest, and pass review request bodies by value (#​4406)
    BREAKING CHANGE: PullRequestReviewDismissalRequest is now PullRequestDismissReviewRequest with non-pointer Message and PullRequestsService.DismissReview takes it by value; PullRequestsService.SubmitReview now takes a new PullRequestSubmitReviewRequest.
  • refactor!: Split CreateOrUpdateCustomRepoRoleOptions into CreateCustomRepoRoleRequest and UpdateCustomRepoRoleRequest and pass by value (#​4401)
    BREAKING CHANGE: CreateOrUpdateCustomRepoRoleOptions is split into CreateCustomRepoRoleRequest (with non-pointer Name and BaseRole) and UpdateCustomRepoRoleRequest; OrganizationsService.CreateCustomRepoRole and UpdateCustomRepoRole now take these request types by value.
  • refactor!: Rename EditLabel to UpdateLabel, Split Label into CreateLabelRequest & UpdateLabelRequest and pass by value (#​4400)
    BREAKING CHANGE: IssuesService.CreateLabel now takes CreateLabelRequest by value (with required non-pointer Name); IssuesService.EditLabel renamed to UpdateLabel, taking an UpdateLabelRequest by value.
  • refactor!: Rename AutolinkOptions to CreateAutolinkRequest, AddAutolink to CreateAutolink, and pass the body by value (#​4399)
    BREAKING CHANGE: AutolinkOptions is now CreateAutolinkRequest with non-pointer KeyPrefix and URLTemplate; RepositoriesService.AddAutolink is now CreateAutolink and passes body by value.
  • refactor!: Split IssueRequest into CreateIssueRequest & UpdateIssueRequest and pass by value (#​4396)
    BREAKING CHANGE: IssueService.Edit is renamed to IssueService.Update.
  • refactor!: Rename NewPullRequest to CreatePullRequest and pass it by value (#​4395)
    BREAKING CHANGE: NewPullRequest is renamed to CreatePullRequest, PullRequests.Create now takes it by value, and CreatePullRequest.Head and CreatePullRequest.Base are now string.
  • refactor!: Pass SarifAnalysis by value (#​4394)
    BREAKING CHANGE: CodeScanningService.UploadSarif now takes body by value and its required fields are no longer pointers.
  • refactor!: Pass CreateDeploymentBranchPolicyRequest and UpdateDeploymentBranchPolicyRequest by value (#​4382)
    BREAKING CHANGE: RepositoriesService.CreateDeploymentBranchPolicy and UpdateDeploymentBranchPolicy now take body by value and the required Name field is of type string.
  • refactor!: Pass TemplateRepoRequest by value in Repositories.CreateFromTemplate (#​4378)
    BREAKING CHANGE: RepositoriesService.CreateFromTemplate now passes body by value and Name is now required and passed by value.
  • refactor!: Pass RepositoryMergeRequest and RepoMergeUpstreamRequest by value (#​4372)
    BREAKING CHANGE: RepositoriesService.Merge and RepositoriesService.MergeUpstream now pass body by value and required struct fields are now values.
  • feat!: Refactor dependabot secrets to pass request by value (#​4348)
    BREAKING CHANGE: DependabotService methods involving secrets have new params and return values.

...and the following additional changes:

  • chore: Bump version of go-github to v90.0.0 (#​4428)
  • docs: Clarify assisted contribution expectations (#​4427)
  • feat: Add org level secret scanning custom patterns support (#​4426)
  • feat: Add MetaService.ListAPIVersions (#​4422)
  • feat: Add DeleteCodeQLDatabase for code scanning (#​4421)
  • feat: Add Stack field to PullRequest for stacked pull requests (#​4423)
  • build: Bump GitHub workflow action versions (#​4424)
  • feat: Add search_type support to issue search (#​4414)
  • chore: Update SecurityAdvisory structs with new fields (#​4413)
  • chore: Consolidate Dependabot PRs (#​4418)
  • feat: Support OIDC custom property claims for Actions (#​4411)
  • feat: Add repo-level secret scanning custom patterns support (#​4397)
  • chore: Update openapi_operations.yaml (#​4412)
  • chore: Fix comment typo (#​4410)
  • chore: Update dependabot changes (#​4405)
  • chore: Update openapi_operations.yaml (#​4398)
  • feat: Add remaining Projects v2 endpoints (#​4319)
  • chore: Update Dependabot-driven dependencies (#​4393)
  • chore: Bump /example dependencies (#​4380)
  • chore: Fix flaky tests with deterministic runs (#​4377)
  • build(deps): Bump golang.org/x/sync from 0.21.0 to 0.22.0 in /tools (#​4376)
  • chore: Fix flaky unit test (#​4374)
  • fix: Enable submitting empty allowlist for actions permissions patterns (#​4371)
  • feat: Add GitHub App Enterprise perm scope (#​4343)
  • chore: Bump go-github from v88 to v89 in /scrape (#​4370)

Configuration

📅 Schedule: (UTC)

  • 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 PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate.

@mm-renovate-bot

Copy link
Copy Markdown
Contributor Author

ℹ️ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • The go directive was updated for compatibility reasons

Details:

Package Change
go 1.25.0 -> 1.26.0

@coderabbitai

coderabbitai Bot commented Sep 10, 2026

Copy link
Copy Markdown

Review Change StackReview Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Enterprise

Run ID: dcae6591-b307-4180-a101-c7788156907f

📥 Commits

Reviewing files that changed from the base of the PR and between 8021f9a and 6c01375.

⛔ Files ignored due to path filters (1)
  • go.sum is excluded by !**/*.sum
📒 Files selected for processing (4)
  • go.mod
  • internal/app/app_test.go
  • internal/github/gh.go
  • internal/github/gh_test.go

Included review availability: Your plan provides up to 12 included reviews per hour; 11 remain after this review.


📝 Walkthrough

Walkthrough

The module’s Go requirement changed from 1.25.0 to 1.26.0. The go-github dependency changed from v89.0.0 to v91.0. The production GitHub client import and both test imports now reference v91. No runtime logic or public API signatures changed.

Suggested reviewers: icantjuddle

Merge Risk: ⚪ Minimal · up to 6c013

This updates the GitHub client dependency to v91 and raises the required Go version to 1.26 without changing application logic. No merge-blocking risk is currently identified.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely identifies the main change: upgrading the go-github module from v89 to v91.
Description check ✅ Passed The description directly explains the go-github upgrade, including release changes, breaking API changes, and the Go 1.26 requirement.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 3…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches 💡 1
🛠️ Fix failing CI checks 💡
  • Create stacked PR
  • Commit on current branch
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch

Comment @coderabbitai help to get the list of available commands.

@greptile-apps

greptile-apps Bot commented Sep 10, 2026

Copy link
Copy Markdown

RetriggerConfidence Score: 4/5

The PR is not safe to merge until the affected go-github call sites are migrated to the v90/v91 request types and renamed methods.

Fix All in Claude CodeFindings

  1. P1 V91 breaks existing API calls
Fix with agent prompt
### Issue 1
internal/github/gh.go:13
When this package compiles against go-github v91, the stale-review dismissal and issue-comment calls still use request types, parameter forms, and methods removed by v90 or v91, causing application builds, tests, and releases to fail.

---

For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.

Reviews (1) · Last reviewed commit: "dev: Update module github.com/google/go-..."

Comment thread internal/github/gh.go
"time"

"github.com/google/go-github/v89/github"
"github.com/google/go-github/v91/github"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 V91 breaks existing API calls

When this package compiles against go-github v91, the stale-review dismissal and issue-comment calls still use request types, parameter forms, and methods removed by v90 or v91, causing application builds, tests, and releases to fail.

Prompt To Fix With AI
This is a comment left during a code review.
Path: internal/github/gh.go
Line: 13

Comment:
**V91 breaks existing API calls**

When this package compiles against go-github v91, the stale-review dismissal and issue-comment calls still use request types, parameter forms, and methods removed by v90 or v91, causing application builds, tests, and releases to fail.

---

For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.

Fix in Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants