Skip to content

Commit

Permalink
Merge pull request #1841 from reviewdog/update_go_github
Browse files Browse the repository at this point in the history
Update github.com/google/go-github
  • Loading branch information
haya14busa authored Jul 15, 2024
2 parents 577a463 + c27e234 commit 5dccff3
Show file tree
Hide file tree
Showing 16 changed files with 16 additions and 14 deletions.
2 changes: 1 addition & 1 deletion cmd/reviewdog/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import (
"golang.org/x/build/gerrit"
"golang.org/x/oauth2"

"github.com/google/go-github/v62/github"
"github.com/google/go-github/v63/github"
"github.com/mattn/go-shellwords"
"github.com/reviewdog/errorformat/fmts"
"github.com/xanzy/go-gitlab"
Expand Down
2 changes: 1 addition & 1 deletion doghouse/appengine/github.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"net/url"
"strings"

"github.com/google/go-github/v62/github"
"github.com/google/go-github/v63/github"
"github.com/justinas/nosurf"
"github.com/vvakame/sdlog/aelog"
"golang.org/x/oauth2"
Expand Down
2 changes: 1 addition & 1 deletion doghouse/appengine/github_webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"fmt"
"net/http"

"github.com/google/go-github/v62/github"
"github.com/google/go-github/v63/github"

"github.com/reviewdog/reviewdog/doghouse/server/storage"
)
Expand Down
2 changes: 1 addition & 1 deletion doghouse/server/doghouse.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"errors"
"fmt"

"github.com/google/go-github/v62/github"
"github.com/google/go-github/v63/github"

"github.com/reviewdog/reviewdog"
"github.com/reviewdog/reviewdog/diff"
Expand Down
2 changes: 1 addition & 1 deletion doghouse/server/doghouse_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"testing"

"github.com/google/go-cmp/cmp"
"github.com/google/go-github/v62/github"
"github.com/google/go-github/v63/github"
"github.com/reviewdog/reviewdog/doghouse"
"github.com/reviewdog/reviewdog/proto/rdf"
)
Expand Down
2 changes: 1 addition & 1 deletion doghouse/server/github.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"net/http"

"github.com/bradleyfalzon/ghinstallation/v2"
"github.com/google/go-github/v62/github"
"github.com/google/go-github/v63/github"
)

type NewGitHubClientOption struct {
Expand Down
1 change: 1 addition & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ require (
github.com/bradleyfalzon/ghinstallation/v2 v2.11.0
github.com/google/go-cmp v0.6.0
github.com/google/go-github/v62 v62.0.0
github.com/google/go-github/v63 v63.0.0
github.com/haya14busa/go-actions-toolkit v0.0.0-20200105081403-ca0307860f01
github.com/haya14busa/go-sarif v0.0.0-20240630170108-a3ba8d79599f
github.com/haya14busa/secretbox v0.0.0-20180525171038-07c7ecf409f5
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,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/v62 v62.0.0 h1:/6mGCaRywZz9MuHyw9gD1CwsbmBX8GWsbFkwMmHdhl4=
github.com/google/go-github/v62 v62.0.0/go.mod h1:EMxeUqGJq2xRu9DYBMwel/mr7kZrzUOfQmmpYrZn2a4=
github.com/google/go-github/v63 v63.0.0 h1:13xwK/wk9alSokujB9lJkuzdmQuVn2QCPeck76wR3nE=
github.com/google/go-github/v63 v63.0.0/go.mod h1:IqbcrgUmIcEaioWrGYei/09o+ge5vhffGOcxrO0AfmA=
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/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs=
Expand Down
1 change: 0 additions & 1 deletion scripts/trigger-depup/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ module github.com/reviewdog/reviewdog/scripts/trigger-depup
go 1.21

require (
github.com/google/go-github/v62 v62.0.0
github.com/google/go-github/v63 v63.0.0
golang.org/x/oauth2 v0.21.0
)
Expand Down
2 changes: 1 addition & 1 deletion scripts/trigger-depup/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"os"
"strings"

"github.com/google/go-github/v62/github"
"github.com/google/go-github/v63/github"
"golang.org/x/oauth2"
)

Expand Down
2 changes: 1 addition & 1 deletion service/github/check.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"sync"
"time"

"github.com/google/go-github/v62/github"
"github.com/google/go-github/v63/github"
"github.com/reviewdog/reviewdog"
"github.com/reviewdog/reviewdog/cienv"
"github.com/reviewdog/reviewdog/filter"
Expand Down
2 changes: 1 addition & 1 deletion service/github/check_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"testing"

"github.com/google/go-cmp/cmp"
"github.com/google/go-github/v62/github"
"github.com/google/go-github/v63/github"
"github.com/reviewdog/reviewdog"
"github.com/reviewdog/reviewdog/filter"
"github.com/reviewdog/reviewdog/proto/rdf"
Expand Down
2 changes: 1 addition & 1 deletion service/github/diff.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"os"
"os/exec"

"github.com/google/go-github/v62/github"
"github.com/google/go-github/v63/github"
"github.com/reviewdog/reviewdog"
)

Expand Down
2 changes: 1 addition & 1 deletion service/github/diff_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strings"
"testing"

"github.com/google/go-github/v62/github"
"github.com/google/go-github/v63/github"
)

const sampleDiff = `--- a/sample.old.txt 2016-10-13 05:09:35.820791185 +0900
Expand Down
2 changes: 1 addition & 1 deletion service/github/github.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"strings"
"sync"

"github.com/google/go-github/v62/github"
"github.com/google/go-github/v63/github"
"google.golang.org/protobuf/proto"

"github.com/reviewdog/reviewdog"
Expand Down
2 changes: 1 addition & 1 deletion service/github/github_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"strings"
"testing"

"github.com/google/go-github/v62/github"
"github.com/google/go-github/v63/github"
"github.com/kylelemons/godebug/pretty"
"golang.org/x/oauth2"

Expand Down

0 comments on commit 5dccff3

Please sign in to comment.