Skip to content

Commit

Permalink
Update go-github to v52 (#253)
Browse files Browse the repository at this point in the history
  • Loading branch information
asvoboda committed Apr 25, 2023
1 parent 0baff68 commit 66dc282
Show file tree
Hide file tree
Showing 11 changed files with 10 additions and 13 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/v50/github"
"github.com/google/go-github/v52/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/v50/github"
"github.com/google/go-github/v52/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/v50/github"
"github.com/google/go-github/v52/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/v50/github"
"github.com/google/go-github/v52/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/v50/github"
"github.com/google/go-github/v52/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/v50/github"
"github.com/google/go-github/v52/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/v50/github"
"github.com/google/go-github/v52/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/v50/github"
"github.com/google/go-github/v52/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/v50/github"
"github.com/google/go-github/v52/github"
"github.com/pkg/errors"
)

Expand Down
3 changes: 1 addition & 2 deletions 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/v50 v50.2.0
github.com/google/go-github/v52 v52.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,7 +21,6 @@ require (
github.com/cloudflare/circl v1.1.0 // 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: 0 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/
github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
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/v50 v50.2.0 h1:j2FyongEHlO9nxXLc+LP3wuBSVU9mVxfpdYUexMpIfk=
github.com/google/go-github/v50 v50.2.0/go.mod h1:VBY8FB6yPIjrtKhozXv4FQupxKLS6H4m6xFZlT43q8Q=
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-querystring v1.1.0 h1:AnCroh3fv4ZBgVIf1Iwtovgjaw/GiKJo8M8yD/fhyJ8=
Expand Down

0 comments on commit 66dc282

Please sign in to comment.