fix(deps): update module github.com/google/go-github/v50 to v51 in go.mod (#3316)

* fix(deps): update module github.com/google/go-github/v50 to v51 in go.mod

* Update fixtures.go

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com>
This commit is contained in:
renovate[bot]
2023-04-11 00:36:40 -05:00
committed by GitHub
parent 625660c21a
commit 763f017169
29 changed files with 31 additions and 28 deletions

View File

@@ -20,7 +20,7 @@ import (
"os/exec"
"time"
"github.com/google/go-github/v50/github"
"github.com/google/go-github/v51/github"
)
type E2ETester struct {

View File

@@ -16,7 +16,7 @@ package main
import (
"context"
"github.com/google/go-github/v50/github"
"github.com/google/go-github/v51/github"
)
type GithubClient struct {

View File

@@ -3,7 +3,7 @@ module github.com/runatlantis/atlantis/e2e
go 1.20
require (
github.com/google/go-github/v50 v50.2.0
github.com/google/go-github/v51 v51.0.0
github.com/hashicorp/go-multierror v1.1.1
)

View File

@@ -10,8 +10,8 @@ github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiu
github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38=
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/v51 v51.0.0 h1:KCjsbgPV28VoRftdP+K2mQL16jniUsLAJknsOVKwHyU=
github.com/google/go-github/v51 v51.0.0/go.mod h1:kZj/rn/c1lSUbr/PFWl2hhusPV7a5XNYKcwPrd5L3Us=
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/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4=

View File

@@ -21,7 +21,7 @@ import (
"fmt"
"github.com/google/go-github/v50/github"
"github.com/google/go-github/v51/github"
multierror "github.com/hashicorp/go-multierror"
)

1
go.mod
View File

@@ -13,6 +13,7 @@ require (
github.com/go-test/deep v1.1.0
github.com/golang-jwt/jwt/v4 v4.5.0
github.com/google/go-github/v50 v50.2.0
github.com/google/go-github/v51 v51.0.0
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510
github.com/google/uuid v1.3.0
github.com/gorilla/mux v1.8.0

2
go.sum
View File

@@ -194,6 +194,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/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/v51 v51.0.0 h1:KCjsbgPV28VoRftdP+K2mQL16jniUsLAJknsOVKwHyU=
github.com/google/go-github/v51 v51.0.0/go.mod h1:kZj/rn/c1lSUbr/PFWl2hhusPV7a5XNYKcwPrd5L3Us=
github.com/google/go-querystring v1.0.0/go.mod h1:odCYkC5MyYFN7vkCjXpyrEuKhc/BUO6wN/zVPAxq5ck=
github.com/google/go-querystring v1.1.0 h1:AnCroh3fv4ZBgVIf1Iwtovgjaw/GiKJo8M8yD/fhyJ8=
github.com/google/go-querystring v1.1.0/go.mod h1:Kcdr2DB4koayq7X8pmAG4sNG59So17icRSOU623lUBU=

View File

@@ -19,7 +19,7 @@ import (
"net/http"
"strings"
"github.com/google/go-github/v50/github"
"github.com/google/go-github/v51/github"
"github.com/mcdafydd/go-azuredevops/azuredevops"
"github.com/microcosm-cc/bluemonday"
"github.com/pkg/errors"

View File

@@ -13,7 +13,7 @@ import (
"strings"
"testing"
"github.com/google/go-github/v50/github"
"github.com/google/go-github/v51/github"
"github.com/hashicorp/go-version"
. "github.com/petergtz/pegomock"

View File

@@ -19,7 +19,7 @@ import (
"io"
"net/http"
"github.com/google/go-github/v50/github"
"github.com/google/go-github/v51/github"
)
//go:generate pegomock generate -m --package mocks -o mocks/mock_github_request_validator.go GithubRequestValidator

View File

@@ -4,7 +4,7 @@ import (
"errors"
"testing"
"github.com/google/go-github/v50/github"
"github.com/google/go-github/v51/github"
. "github.com/petergtz/pegomock"
"github.com/runatlantis/atlantis/server/core/db"
"github.com/runatlantis/atlantis/server/core/locking"

View File

@@ -17,7 +17,7 @@ import (
"fmt"
"strconv"
"github.com/google/go-github/v50/github"
"github.com/google/go-github/v51/github"
"github.com/mcdafydd/go-azuredevops/azuredevops"
"github.com/pkg/errors"
"github.com/runatlantis/atlantis/server/core/config/valid"

View File

@@ -28,7 +28,7 @@ import (
"github.com/runatlantis/atlantis/server/logging"
"github.com/runatlantis/atlantis/server/metrics"
"github.com/google/go-github/v50/github"
"github.com/google/go-github/v51/github"
. "github.com/petergtz/pegomock"
lockingmocks "github.com/runatlantis/atlantis/server/core/locking/mocks"
"github.com/runatlantis/atlantis/server/events"

View File

@@ -21,7 +21,7 @@ import (
"strings"
"github.com/go-playground/validator/v10"
"github.com/google/go-github/v50/github"
"github.com/google/go-github/v51/github"
"github.com/mcdafydd/go-azuredevops/azuredevops"
"github.com/pkg/errors"
"github.com/runatlantis/atlantis/server/events/command"

View File

@@ -21,7 +21,7 @@ import (
"strings"
"testing"
"github.com/google/go-github/v50/github"
"github.com/google/go-github/v51/github"
"github.com/mcdafydd/go-azuredevops/azuredevops"
"github.com/mohae/deepcopy"
"github.com/runatlantis/atlantis/server/events"

View File

@@ -5,7 +5,7 @@ import (
"github.com/petergtz/pegomock"
"reflect"
github "github.com/google/go-github/v50/github"
github "github.com/google/go-github/v51/github"
)
func AnyPtrToGithubIssueCommentEvent() *github.IssueCommentEvent {

View File

@@ -5,7 +5,7 @@ import (
"github.com/petergtz/pegomock"
"reflect"
github "github.com/google/go-github/v50/github"
github "github.com/google/go-github/v51/github"
)
func AnyPtrToGithubPullRequest() *github.PullRequest {

View File

@@ -5,7 +5,7 @@ import (
"github.com/petergtz/pegomock"
"reflect"
github "github.com/google/go-github/v50/github"
github "github.com/google/go-github/v51/github"
)
func AnyPtrToGithubPullRequestEvent() *github.PullRequestEvent {

View File

@@ -5,7 +5,7 @@ import (
"github.com/petergtz/pegomock"
"reflect"
github "github.com/google/go-github/v50/github"
github "github.com/google/go-github/v51/github"
)
func AnyPtrToGithubRepository() *github.Repository {

View File

@@ -4,7 +4,7 @@
package mocks
import (
github "github.com/google/go-github/v50/github"
github "github.com/google/go-github/v51/github"
azuredevops "github.com/mcdafydd/go-azuredevops/azuredevops"
pegomock "github.com/petergtz/pegomock"
models "github.com/runatlantis/atlantis/server/events/models"

View File

@@ -4,7 +4,7 @@
package mocks
import (
github "github.com/google/go-github/v50/github"
github "github.com/google/go-github/v51/github"
pegomock "github.com/petergtz/pegomock"
models "github.com/runatlantis/atlantis/server/events/models"
"reflect"

View File

@@ -21,7 +21,7 @@ import (
"strings"
"time"
"github.com/google/go-github/v50/github"
"github.com/google/go-github/v51/github"
"github.com/pkg/errors"
"github.com/runatlantis/atlantis/server/events/command"
"github.com/runatlantis/atlantis/server/events/models"

View File

@@ -8,7 +8,7 @@ import (
"strings"
"github.com/bradleyfalzon/ghinstallation/v2"
"github.com/google/go-github/v50/github"
"github.com/google/go-github/v51/github"
"github.com/pkg/errors"
)

View File

@@ -4,7 +4,7 @@ import (
"fmt"
"strconv"
"github.com/google/go-github/v50/github"
"github.com/google/go-github/v51/github"
"github.com/runatlantis/atlantis/server/events/models"
"github.com/runatlantis/atlantis/server/logging"
"github.com/runatlantis/atlantis/server/metrics"

View File

@@ -5,7 +5,7 @@ import (
"github.com/petergtz/pegomock"
"reflect"
github "github.com/google/go-github/v50/github"
github "github.com/google/go-github/v51/github"
)
func AnyPtrToGithubPullRequest() *github.PullRequest {

View File

@@ -4,7 +4,7 @@
package mocks
import (
github "github.com/google/go-github/v50/github"
github "github.com/google/go-github/v51/github"
pegomock "github.com/petergtz/pegomock"
models "github.com/runatlantis/atlantis/server/events/models"
"reflect"

View File

@@ -22,7 +22,7 @@ import (
"testing"
"github.com/golang-jwt/jwt/v4"
"github.com/google/go-github/v50/github"
"github.com/google/go-github/v51/github"
"github.com/mcdafydd/go-azuredevops/azuredevops"
)

View File

@@ -18,7 +18,7 @@ import (
"strings"
"time"
"github.com/google/go-github/v50/github"
"github.com/google/go-github/v51/github"
)
var githubUsername string

View File

@@ -31,7 +31,7 @@ import (
"time"
"github.com/briandowns/spinner"
"github.com/google/go-github/v50/github"
"github.com/google/go-github/v51/github"
"github.com/mitchellh/colorstring"
"github.com/pkg/errors"
)