Skip to content
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
2 changes: 1 addition & 1 deletion appconfig/appconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
"net/http"
"strings"

"github.com/google/go-github/v86/github"
"github.com/google/go-github/v88/github"
"github.com/rs/zerolog"
)

Expand Down
2 changes: 1 addition & 1 deletion appconfig/appconfig_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
"path/filepath"
"testing"

"github.com/google/go-github/v86/github"
"github.com/google/go-github/v88/github"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion example/issue_comment.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"fmt"
"strings"

"github.com/google/go-github/v86/github"
"github.com/google/go-github/v88/github"
"github.com/palantir/go-githubapp/githubapp"
"github.com/rs/zerolog"
)
Expand Down
2 changes: 1 addition & 1 deletion githubapp/caching_client_creator.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ package githubapp
import (
"fmt"

"github.com/google/go-github/v86/github"
"github.com/google/go-github/v88/github"
lru "github.com/hashicorp/golang-lru"
"github.com/shurcooL/githubv4"
"golang.org/x/oauth2"
Expand Down
2 changes: 1 addition & 1 deletion githubapp/client_creator.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"time"

"github.com/bradleyfalzon/ghinstallation/v2"
"github.com/google/go-github/v86/github"
"github.com/google/go-github/v88/github"
"github.com/gregjones/httpcache"
"github.com/shurcooL/githubv4"
"golang.org/x/oauth2"
Expand Down Expand Up @@ -315,7 +315,7 @@
return nil, fmt.Errorf("failed to parse base URL: %q: %w", c.v3BaseURL, err)
}

client := github.NewClient(base)

Check failure on line 318 in githubapp/client_creator.go

View workflow job for this annotation

GitHub Actions / ci-all

assignment mismatch: 1 variable but github.NewClient returns 2 values

Check failure on line 318 in githubapp/client_creator.go

View workflow job for this annotation

GitHub Actions / ci-all

cannot use base (variable of type *http.Client) as "github.com/google/go-github/v88/github".ClientOptionsFunc value in argument to github.NewClient

Check failure on line 318 in githubapp/client_creator.go

View workflow job for this annotation

GitHub Actions / ci-all

cannot use base (variable of type *http.Client) as "github.com/google/go-github/v88/github".ClientOptionsFunc value in argument to github.NewClient

Check failure on line 318 in githubapp/client_creator.go

View workflow job for this annotation

GitHub Actions / ci-all

assignment mismatch: 1 variable but github.NewClient returns 2 values
client.BaseURL = baseURL
client.UserAgent = makeUserAgent(c.userAgent, details)

Expand Down
2 changes: 1 addition & 1 deletion githubapp/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ package githubapp
import (
"context"

"github.com/google/go-github/v86/github"
"github.com/google/go-github/v88/github"
"github.com/rs/zerolog"
)

Expand Down
2 changes: 1 addition & 1 deletion githubapp/context_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"encoding/json"
"testing"

"github.com/google/go-github/v86/github"
"github.com/google/go-github/v88/github"
"github.com/rs/zerolog"
)

Expand Down
2 changes: 1 addition & 1 deletion githubapp/dispatcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"fmt"
"net/http"

"github.com/google/go-github/v86/github"
"github.com/google/go-github/v88/github"
"github.com/rcrowley/go-metrics"
"github.com/rs/zerolog"
)
Expand Down
2 changes: 1 addition & 1 deletion githubapp/installations.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"fmt"
"net/http"

"github.com/google/go-github/v86/github"
"github.com/google/go-github/v88/github"
)

// Installation is a minimal representation of a GitHub app installation.
Expand Down Expand Up @@ -108,14 +108,14 @@
}

func (i defaultInstallationsService) GetByOwner(ctx context.Context, owner string) (Installation, error) {
installation, _, err := i.Apps.FindOrganizationInstallation(ctx, owner)

Check failure on line 111 in githubapp/installations.go

View workflow job for this annotation

GitHub Actions / ci-all

i.Apps.FindOrganizationInstallation undefined (type *"github.com/google/go-github/v88/github".AppsService has no field or method FindOrganizationInstallation)

Check failure on line 111 in githubapp/installations.go

View workflow job for this annotation

GitHub Actions / ci-all

i.Apps.FindOrganizationInstallation undefined (type *"github.com/google/go-github/v88/github".AppsService has no field or method FindOrganizationInstallation)
if err == nil {
return toInstallation(installation), nil
}

// owner is not an organization, try to find as a user
if isNotFound(err) {
installation, _, err = i.Apps.FindUserInstallation(ctx, owner)

Check failure on line 118 in githubapp/installations.go

View workflow job for this annotation

GitHub Actions / ci-all

i.Apps.FindUserInstallation undefined (type *"github.com/google/go-github/v88/github".AppsService has no field or method FindUserInstallation)

Check failure on line 118 in githubapp/installations.go

View workflow job for this annotation

GitHub Actions / ci-all

i.Apps.FindUserInstallation undefined (type *"github.com/google/go-github/v88/github".AppsService has no field or method FindUserInstallation)
if err == nil {
return toInstallation(installation), nil
}
Expand All @@ -128,7 +128,7 @@
}

func (i defaultInstallationsService) GetByRepository(ctx context.Context, owner, repo string) (Installation, error) {
installation, _, err := i.Apps.FindRepositoryInstallation(ctx, owner, repo)

Check failure on line 131 in githubapp/installations.go

View workflow job for this annotation

GitHub Actions / ci-all

i.Apps.FindRepositoryInstallation undefined (type *"github.com/google/go-github/v88/github".AppsService has no field or method FindRepositoryInstallation)

Check failure on line 131 in githubapp/installations.go

View workflow job for this annotation

GitHub Actions / ci-all

i.Apps.FindRepositoryInstallation undefined (type *"github.com/google/go-github/v88/github".AppsService has no field or method FindRepositoryInstallation)
if err == nil {
return toInstallation(installation), nil
}
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.26.0
require (
github.com/alexedwards/scs v1.4.1
github.com/bradleyfalzon/ghinstallation/v2 v2.18.0
github.com/google/go-github/v86 v86.0.0
github.com/google/go-github/v88 v88.0.0
github.com/gregjones/httpcache v0.0.0-20190611155906-901d90724c79
github.com/hashicorp/golang-lru v1.0.2
github.com/patrickmn/go-cache v2.1.0+incompatible
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8=
github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU=
github.com/google/go-github/v84 v84.0.0 h1:I/0Xn5IuChMe8TdmI2bbim5nyhaRFJ7DEdzmD2w+yVA=
github.com/google/go-github/v84 v84.0.0/go.mod h1:WwYL1z1ajRdlaPszjVu/47x1L0PXukJBn73xsiYrRRQ=
github.com/google/go-github/v86 v86.0.0 h1:S/6aANJhwRm8EQmGKVML3j41yq0h2BsTP8FnDkO7kcA=
github.com/google/go-github/v86 v86.0.0/go.mod h1:zKv1l4SwDXNFMGByi2FWkq71KwSXqj/eQRZuqtmcot8=
github.com/google/go-github/v88 v88.0.0 h1:dZA9IKkPK1eXZj4ypngnpRj5FwdpTv4whix2PrQMP7M=
github.com/google/go-github/v88 v88.0.0/go.mod h1:rufTDgn2N45wjhukLTyxmvc9nilSp3mr3Rgtt6b1MPw=
github.com/google/go-querystring v1.2.0 h1:yhqkPbu2/OH+V9BfpCVPZkNmUXhb2gBxJArfhIxNtP0=
github.com/google/go-querystring v1.2.0/go.mod h1:8IFJqpSRITyJ8QhQ13bmbeMBDfmeEJZD5A0egEOmkqU=
github.com/gregjones/httpcache v0.0.0-20190611155906-901d90724c79 h1:+ngKgrYPPJrOjhax5N+uePQ0Fh1Z7PheYoUI/0nzkPA=
Expand Down
Loading