Skip to content
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

fix(deps): update module github.com/google/go-github/v60 to v65 - autoclosed #149

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.21
toolchain go1.22.2

require (
github.com/google/go-github/v60 v60.0.0
github.com/google/go-github/v65 v65.0.0
github.com/gregjones/httpcache v0.0.0-20190611155906-901d90724c79
github.com/palantir/go-baseapp v0.4.1
github.com/palantir/go-githubapp v0.24.1
Expand All @@ -24,6 +24,7 @@ require (
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/golang-jwt/jwt/v4 v4.5.0 // indirect
github.com/golang/protobuf v1.5.3 // indirect
github.com/google/go-github/v60 v60.0.0 // indirect
github.com/google/go-querystring v1.1.0 // indirect
github.com/hashicorp/golang-lru v0.6.0 // indirect
github.com/kr/text v0.2.0 // indirect
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,8 @@ github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
github.com/google/go-github/v60 v60.0.0 h1:oLG98PsLauFvvu4D/YPxq374jhSxFYdzQGNCyONLfn8=
github.com/google/go-github/v60 v60.0.0/go.mod h1:ByhX2dP9XT9o/ll2yXAu2VD8l5eNVg8hD4Cr0S/LmQk=
github.com/google/go-github/v65 v65.0.0 h1:pQ7BmO3DZivvFk92geC0jB0q2m3gyn8vnYPgV7GSLhQ=
github.com/google/go-github/v65 v65.0.0/go.mod h1:DvrqWo5hvsdhJvHd4WyVF9ttANN3BniqjP8uTFMNb60=
github.com/google/go-querystring v1.1.0 h1:AnCroh3fv4ZBgVIf1Iwtovgjaw/GiKJo8M8yD/fhyJ8=
github.com/google/go-querystring v1.1.0/go.mod h1:Kcdr2DB4koayq7X8pmAG4sNG59So17icRSOU623lUBU=
github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
Expand Down
2 changes: 1 addition & 1 deletion issue_release_status.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"strings"
"time"

"github.com/google/go-github/v60/github"
"github.com/google/go-github/v65/github"
"github.com/palantir/go-githubapp/githubapp"
"github.com/pkg/errors"
"github.com/rs/zerolog"
Expand Down Expand Up @@ -43,7 +43,7 @@

repository := event.GetRepo()
prNum := event.GetNumber()
installationID := githubapp.GetInstallationIDFromEvent(&event)

Check failure on line 46 in issue_release_status.go

View workflow job for this annotation

GitHub Actions / build

cannot use &event (value of type *"github.com/google/go-github/v65/github".PullRequestEvent) as githubapp.InstallationSource value in argument to githubapp.GetInstallationIDFromEvent: *"github.com/google/go-github/v65/github".PullRequestEvent does not implement githubapp.InstallationSource (wrong type for method GetInstallation)

logctx := zerolog.Ctx(ctx).With().
Int64("github_installation_id", installationID).
Expand Down Expand Up @@ -137,7 +137,7 @@
Body: &botMessage,
}

if _, _, err := client.Issues.CreateComment(ctx, repositoryOwner, repositoryName, prNum, &newComment); err != nil {

Check failure on line 140 in issue_release_status.go

View workflow job for this annotation

GitHub Actions / build

cannot use &newComment (value of type *"github.com/google/go-github/v65/github".IssueComment) as *"github.com/google/go-github/v60/github".IssueComment value in argument to client.Issues.CreateComment
return errors.Wrapf(err, "commenting on pull request, with DeliveryID '%v'", deliveryID)
}

Expand Down
Loading