mirror of
https://git.vectorsigma.ru/public/atlantis.git
synced 2026-08-05 05:18:33 +00:00
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:
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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
|
||||
)
|
||||
|
||||
|
||||
@@ -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=
|
||||
|
||||
@@ -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
1
go.mod
@@ -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
2
go.sum
@@ -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=
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
)
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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"
|
||||
|
||||
2
server/events/vcs/testdata/fixtures.go
vendored
2
server/events/vcs/testdata/fixtures.go
vendored
@@ -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"
|
||||
)
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ import (
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"github.com/google/go-github/v50/github"
|
||||
"github.com/google/go-github/v51/github"
|
||||
)
|
||||
|
||||
var githubUsername string
|
||||
|
||||
@@ -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"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user