Skip to content

Commit

Permalink
Update go-github to v53 (#263)
Browse files Browse the repository at this point in the history
  • Loading branch information
asvoboda authored Jun 13, 2023
1 parent afc69e5 commit 4bd855c
Show file tree
Hide file tree
Showing 11 changed files with 13 additions and 10 deletions.
2 changes: 1 addition & 1 deletion appconfig/appconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (
"net/http"
"strings"

"github.com/google/go-github/v52/github"
"github.com/google/go-github/v53/github"
"github.com/pkg/errors"
"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/v52/github"
"github.com/google/go-github/v53/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/v52/github"
"github.com/google/go-github/v53/github"
"github.com/palantir/go-githubapp/githubapp"
"github.com/pkg/errors"
"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/v52/github"
"github.com/google/go-github/v53/github"
lru "github.com/hashicorp/golang-lru"
"github.com/pkg/errors"
"github.com/shurcooL/githubv4"
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 @@ import (
"time"

"github.com/bradleyfalzon/ghinstallation/v2"
"github.com/google/go-github/v52/github"
"github.com/google/go-github/v53/github"
"github.com/gregjones/httpcache"
"github.com/pkg/errors"
"github.com/shurcooL/githubv4"
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/v52/github"
"github.com/google/go-github/v53/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/v52/github"
"github.com/google/go-github/v53/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 @@ -19,7 +19,7 @@ import (
"fmt"
"net/http"

"github.com/google/go-github/v52/github"
"github.com/google/go-github/v53/github"
"github.com/pkg/errors"
"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 @@ import (
"fmt"
"net/http"

"github.com/google/go-github/v52/github"
"github.com/google/go-github/v53/github"
"github.com/pkg/errors"
)

Expand Down
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.20
require (
github.com/alexedwards/scs v1.4.1
github.com/bradleyfalzon/ghinstallation/v2 v2.4.0
github.com/google/go-github/v52 v52.0.0
github.com/google/go-github/v53 v53.0.0
github.com/gregjones/httpcache v0.0.0-20190611155906-901d90724c79
github.com/hashicorp/golang-lru v0.6.0
github.com/pkg/errors v0.9.1
Expand All @@ -21,6 +21,7 @@ require (
github.com/cloudflare/circl v1.3.3 // indirect
github.com/golang-jwt/jwt/v4 v4.5.0 // indirect
github.com/golang/protobuf v1.5.2 // indirect
github.com/google/go-github/v52 v52.0.0 // indirect
github.com/google/go-querystring v1.1.0 // indirect
github.com/kr/pretty v0.3.0 // indirect
github.com/mattn/go-colorable v0.1.12 // indirect
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38=
github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
github.com/google/go-github/v52 v52.0.0 h1:uyGWOY+jMQ8GVGSX8dkSwCzlehU3WfdxQ7GweO/JP7M=
github.com/google/go-github/v52 v52.0.0/go.mod h1:WJV6VEEUPuMo5pXqqa2ZCZEdbQqua4zAk2MZTIo+m+4=
github.com/google/go-github/v53 v53.0.0 h1:T1RyHbSnpHYnoF0ZYKiIPSgPtuJ8G6vgc0MKodXsQDQ=
github.com/google/go-github/v53 v53.0.0/go.mod h1:XhFRObz+m/l+UCm9b7KSIC3lT3NWSXGt7mOsAWEloao=
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/gregjones/httpcache v0.0.0-20190611155906-901d90724c79 h1:+ngKgrYPPJrOjhax5N+uePQ0Fh1Z7PheYoUI/0nzkPA=
Expand Down

0 comments on commit 4bd855c

Please sign in to comment.