From 853d06d2cc1918ccfd82c1d4e3a6c20976253735 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Sat, 11 May 2019 22:46:51 +0000 Subject: [PATCH] Update module google/go-github/v25 to v25.0.3 --- go.mod | 2 +- go.sum | 4 ++-- .../go-github/v25/github/event_types.go | 19 +++++++++++-------- .../go-github/v25/github/github-accessors.go | 8 ++++++++ vendor/modules.txt | 2 +- 5 files changed, 23 insertions(+), 12 deletions(-) diff --git a/go.mod b/go.mod index 3db9514c5d..1fd23d6918 100644 --- a/go.mod +++ b/go.mod @@ -1,7 +1,7 @@ module github.com/terraform-providers/terraform-provider-github require ( - github.com/google/go-github/v25 v25.0.2 + github.com/google/go-github/v25 v25.0.3 github.com/hashicorp/terraform v0.12.0-rc1 github.com/kylelemons/godebug v0.0.0-20170820004349-d65d576e9348 github.com/terraform-providers/terraform-provider-tls v1.2.0 diff --git a/go.sum b/go.sum index db0fdee1b4..74a6bff1db 100644 --- a/go.sum +++ b/go.sum @@ -112,8 +112,8 @@ github.com/google/go-cmp v0.2.0 h1:+dTQ8DZQJz0Mb/HjFlkptS1FeQ4cWSnN941F8aEG4SQ= github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= github.com/google/go-github v17.0.0+incompatible h1:N0LgJ1j65A7kfXrZnUDaYCs/Sf4rEjNlfyDHW9dolSY= github.com/google/go-github v17.0.0+incompatible/go.mod h1:zLgOLi98H3fifZn+44m+umXrS52loVEgC2AApnigrVQ= -github.com/google/go-github/v25 v25.0.2 h1:MqXE7nOlIF91NJ/PXAcvS2dC+XXCDbY7RvJzjyEPAoU= -github.com/google/go-github/v25 v25.0.2/go.mod h1:6z5pC69qHtrPJ0sXPsj4BLnd82b+r6sLB7qcBoRZqpw= +github.com/google/go-github/v25 v25.0.3 h1:bh0mkzso83YaaCKB4F6iXunS8jn948H6VuSazQeg5hQ= +github.com/google/go-github/v25 v25.0.3/go.mod h1:6z5pC69qHtrPJ0sXPsj4BLnd82b+r6sLB7qcBoRZqpw= github.com/google/go-querystring v1.0.0 h1:Xkwi/a1rcvNg1PPYe5vI8GbeBY/jrVuDX5ASuANWTrk= github.com/google/go-querystring v1.0.0/go.mod h1:odCYkC5MyYFN7vkCjXpyrEuKhc/BUO6wN/zVPAxq5ck= github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs= diff --git a/vendor/github.com/google/go-github/v25/github/event_types.go b/vendor/github.com/google/go-github/v25/github/event_types.go index 0be42e4cc2..8ba922a2b7 100644 --- a/vendor/github.com/google/go-github/v25/github/event_types.go +++ b/vendor/github.com/google/go-github/v25/github/event_types.go @@ -13,7 +13,7 @@ type RequestedAction struct { Identifier string `json:"identifier"` // The integrator reference of the action requested by the user. } -// CheckRunEvent is triggered when a check run is "created", "updated", or "re-requested". +// CheckRunEvent is triggered when a check run is "created", "updated", or "rerequested". // The Webhook event name is "check_run". // // GitHub API docs: https://developer.github.com/v3/activity/events/types/#checkrunevent @@ -32,13 +32,13 @@ type CheckRunEvent struct { RequestedAction *RequestedAction `json:"requested_action,omitempty"` // } -// CheckSuiteEvent is triggered when a check suite is "completed", "requested", or "re-requested". +// CheckSuiteEvent is triggered when a check suite is "completed", "requested", or "rerequested". // The Webhook event name is "check_suite". // // GitHub API docs: https://developer.github.com/v3/activity/events/types/#checksuiteevent type CheckSuiteEvent struct { CheckSuite *CheckSuite `json:"check_suite,omitempty"` - // The action performed. Possible values are: "completed", "requested" or "re-requested". + // The action performed. Possible values are: "completed", "requested" or "rerequested". Action *string `json:"action,omitempty"` // The following fields are only populated by Webhook events. @@ -585,11 +585,14 @@ type PullRequestEvent struct { // RequestedReviewer is populated in "review_requested", "review_request_removed" event deliveries. // A request affecting multiple reviewers at once is split into multiple // such event deliveries, each with a single, different RequestedReviewer. - RequestedReviewer *User `json:"requested_reviewer,omitempty"` - Repo *Repository `json:"repository,omitempty"` - Sender *User `json:"sender,omitempty"` - Installation *Installation `json:"installation,omitempty"` - Label *Label `json:"label,omitempty"` // Populated in "labeled" event deliveries. + RequestedReviewer *User `json:"requested_reviewer,omitempty"` + // In the event that a team is requested instead of a user, "requested_team" gets sent in place of + // "requested_user" with the same delivery behavior. + RequestedTeam *Team `json:"requested_team,omitempty"` + Repo *Repository `json:"repository,omitempty"` + Sender *User `json:"sender,omitempty"` + Installation *Installation `json:"installation,omitempty"` + Label *Label `json:"label,omitempty"` // Populated in "labeled" event deliveries. // The following field is only present when the webhook is triggered on // a repository belonging to an organization. diff --git a/vendor/github.com/google/go-github/v25/github/github-accessors.go b/vendor/github.com/google/go-github/v25/github/github-accessors.go index 6bc19de823..9129909aee 100644 --- a/vendor/github.com/google/go-github/v25/github/github-accessors.go +++ b/vendor/github.com/google/go-github/v25/github/github-accessors.go @@ -7828,6 +7828,14 @@ func (p *PullRequestEvent) GetRequestedReviewer() *User { return p.RequestedReviewer } +// GetRequestedTeam returns the RequestedTeam field. +func (p *PullRequestEvent) GetRequestedTeam() *Team { + if p == nil { + return nil + } + return p.RequestedTeam +} + // GetSender returns the Sender field. func (p *PullRequestEvent) GetSender() *User { if p == nil { diff --git a/vendor/modules.txt b/vendor/modules.txt index 3649dedf5a..9eb2721324 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -62,7 +62,7 @@ github.com/google/go-cmp/cmp github.com/google/go-cmp/cmp/internal/diff github.com/google/go-cmp/cmp/internal/function github.com/google/go-cmp/cmp/internal/value -# github.com/google/go-github/v25 v25.0.2 +# github.com/google/go-github/v25 v25.0.3 github.com/google/go-github/v25/github # github.com/google/go-querystring v1.0.0 github.com/google/go-querystring/query