Repository: lindell/multi-gitter
Pull request #362 (2023-07-02 11:23:32)

dep: update module github.com/google/go-github/v50 to v53
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [github.com/google/go-github/v50](https://togithub.com/google/go-github) | require | major | `v50.2.0` -> `v53.2.0` |

---

### Release Notes

<details>
<summary>google/go-github (github.com/google/go-github/v50)</summary>

### [`v53.2.0`](https://togithub.com/google/go-github/releases/tag/v53.2.0)

[Compare Source](https://togithub.com/google/go-github/compare/v53.1.0...v53.2.0)

This minor release contains the following changes:

-   Implement rulesets ([#&#8203;2795](https://togithub.com/google/go-github/issues/2795))
-   Support code scanning default setup configuration ([#&#8203;2808](https://togithub.com/google/go-github/issues/2808))
-   Add generate-jitconfig API for self-hosted runners ([#&#8203;2801](https://togithub.com/google/go-github/issues/2801))
-   Initial implementation of codespaces API ([#&#8203;2803](https://togithub.com/google/go-github/issues/2803))
-   Fix missing Include, Exclude fields in RulesetRefConditionParameters ([#&#8203;2810](https://togithub.com/google/go-github/issues/2810))
-   Bump version of go-github to v53.2.0 ([#&#8203;2811](https://togithub.com/google/go-github/issues/2811))

### [`v53.1.0`](https://togithub.com/google/go-github/releases/tag/v53.1.0)

[Compare Source](https://togithub.com/google/go-github/compare/v53.0.0...v53.1.0)

This minor release contains the following changes:

-   Bump go-github from v52.0.0 to v53.0.0 in /scrape ([#&#8203;2800](https://togithub.com/google/go-github/issues/2800))
-   Add GitHub App event security_advisory ([#&#8203;2799](https://togithub.com/google/go-github/issues/2799))
-   Fix auth vulnerability ([#&#8203;2805](https://togithub.com/google/go-github/issues/2805))
-   Bump version of go-github to v53.1.0 ([#&#8203;2806](https://togithub.com/google/go-github/issues/2806))

### [`v53.0.0`](https://togithub.com/google/go-github/releases/tag/v53.0.0)

[Compare Source](https://togithub.com/google/go-github/compare/v52.0.0...v53.0.0)

This release contains the following breaking API changes:

-   Update DependabotSecretsSelectedRepoIDs type to \[]int64 ([#&#8203;2794](https://togithub.com/google/go-github/issues/2794))

and the following additional changes:

-   Bump go-github from v51.0.0 to v52.0.0 in /scrape ([#&#8203;2767](https://togithub.com/google/go-github/issues/2767))
-   Bump codecov/codecov-action from 3.1.2 to 3.1.3 ([#&#8203;2768](https://togithub.com/google/go-github/issues/2768))
-   Change the CreateRequiredWorkflow method from PUT to POST ([#&#8203;2771](https://togithub.com/google/go-github/issues/2771))
-   Add Repository field to DependabotAlert ([#&#8203;2772](https://togithub.com/google/go-github/issues/2772))
-   Add omitempty to CreateOrgInvitationOptions fields ([#&#8203;2778](https://togithub.com/google/go-github/issues/2778))
-   Bump golang.org/x/net from 0.9.0 to 0.10.0 in /scrape ([#&#8203;2779](https://togithub.com/google/go-github/issues/2779))
-   Bump github.com/cloudflare/circl from 1.1.0 to 1.3.3 ([#&#8203;2780](https://togithub.com/google/go-github/issues/2780))
-   Support x-ratelimit-reset handling for secondary rate limits ([#&#8203;2775](https://togithub.com/google/go-github/issues/2775))
-   Support deployment protection rule event type ([#&#8203;2773](https://togithub.com/google/go-github/issues/2773))
-   Support array type in go generate with whitelist ([#&#8203;2776](https://togithub.com/google/go-github/issues/2776))
-   Bump golang.org/x/oauth2 from 0.7.0 to 0.8.0 ([#&#8203;2781](https://togithub.com/google/go-github/issues/2781))
-   Add test for resource JSON marshaling ([#&#8203;2783](https://togithub.com/google/go-github/issues/2783))
-   Bump codecov/codecov-action from 3.1.3 to 3.1.4 ([#&#8203;2784](https://togithub.com/google/go-github/issues/2784))
-   Add missing fields to AuditEntry ([#&#8203;2786](https://togithub.com/google/go-github/issues/2786))
-   Add "new_name" parameter to repo transfer request ([#&#8203;2788](https://togithub.com/google/go-github/issues/2788))
-   Add workflow run display title ([#&#8203;2792](https://togithub.com/google/go-github/issues/2792))
-   Bump version of go-github to v53.0.0 ([#&#8203;2797](https://togithub.com/google/go-github/issues/2797))

### [`v52.0.0`](https://togithub.com/google/go-github/releases/tag/v52.0.0)

[Compare Source](https://togithub.com/google/go-github/compare/v51.0.0...v52.0.0)

This release contains the following breaking API changes:

-   Update Create/Update methods to return the workflow ([#&#8203;2759](https://togithub.com/google/go-github/issues/2759))

and the following additional changes:

-   Bump go-github from 50.2.0 to 51.0.0 in /scrape ([#&#8203;2740](https://togithub.com/google/go-github/issues/2740))
-   Add Topics to PushEventRepository ([#&#8203;2742](https://togithub.com/google/go-github/issues/2742))
-   Add fields to Branch Protection endpoint ([#&#8203;2744](https://togithub.com/google/go-github/issues/2744))
-   Add GetTime method to Timestamp ([#&#8203;2743](https://togithub.com/google/go-github/issues/2743))
-   Bump golang.org/x/net from 0.8.0 to 0.9.0 in /scrape ([#&#8203;2748](https://togithub.com/google/go-github/issues/2748))
-   Bump golang.org/x/oauth2 from 0.6.0 to 0.7.0 ([#&#8203;2747](https://togithub.com/google/go-github/issues/2747))
-   Add DNS health checks support for GitHub Pages ([#&#8203;2746](https://togithub.com/google/go-github/issues/2746))
-   Add Owner to EditChange struct ([#&#8203;2750](https://togithub.com/google/go-github/issues/2750))
-   Bump codecov/codecov-action from 3.1.1 to 3.1.2 ([#&#8203;2761](https://togithub.com/google/go-github/issues/2761))
-   Add HeadBranch field to WorkflowJob ([#&#8203;2764](https://togithub.com/google/go-github/issues/2764))
-   Add requester to InstallationEvent ([#&#8203;2763](https://togithub.com/google/go-github/issues/2763))
-   Add InstallationsCount to App ([#&#8203;2765](https://togithub.com/google/go-github/issues/2765))
-   Bump version of go-github to v52.0.0 ([#&#8203;2766](https://togithub.com/google/go-github/issues/2766))

### [`v51.0.0`](https://togithub.com/google/go-github/releases/tag/v51.0.0)

[Compare Source](https://togithub.com/google/go-github/compare/v50.2.0...v51.0.0)

This release contains the following breaking API changes:

-   Add ListOptions to GetAdvancedSecurityActiveCommittersOrg ([#&#8203;2720](https://togithub.com/google/go-github/issues/2720))
-   Change PrivateRepos from int to int64 ([#&#8203;2738](https://togithub.com/google/go-github/issues/2738))

and the following additional changes:

-   Bump actions/setup-go from 3 to 4 ([#&#8203;2713](https://togithub.com/google/go-github/issues/2713))
-   Bump github.com/google/go-github/v50 from 50.1.0 to 50.2.0 in /scrape ([#&#8203;2714](https://togithub.com/google/go-github/issues/2714))
-   Add added_by and last_used fields to keys ([#&#8203;2718](https://togithub.com/google/go-github/issues/2718))
-   Add CanAdminsBypass to Environment ([#&#8203;2721](https://togithub.com/google/go-github/issues/2721))
-   Add download capability for workflow run attempt logs ([#&#8203;2716](https://togithub.com/google/go-github/issues/2716))
-   Add CanAdminsBypass to CreateUpdateEnvironment ([#&#8203;2727](https://togithub.com/google/go-github/issues/2727))
-   Add BuildType to GitHub Repo Pages ([#&#8203;2724](https://togithub.com/google/go-github/issues/2724))
-   Set authenticated user's email visibility ([#&#8203;2711](https://togithub.com/google/go-github/issues/2711))
-   Add support for deleting an org ([#&#8203;2728](https://togithub.com/google/go-github/issues/2728))
-   verify payload signature if present ([#&#8203;2732](https://togithub.com/google/go-github/issues/2732))
-   Implement the actions required workflows APIs ([#&#8203;2730](https://togithub.com/google/go-github/issues/2730))
-   Add options for listing workflow runs ([#&#8203;2735](https://togithub.com/google/go-github/issues/2735))
-   Bump version of go-github to v51.0.0 ([#&#8203;2739](https://togithub.com/google/go-github/issues/2739))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "on the first day of the month also on the 2nd day of the month before 5pm" (UTC), Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/lindell/multi-gitter).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS4xNDQuMiIsInVwZGF0ZWRJblZlciI6IjM1LjE0NC4yIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=-->



Patch:
diff --git a/go.mod b/go.mod
index 7527412..1f177e5 100644
--- a/go.mod
+++ b/go.mod
@@ -7,7 +7,7 @@ require (
 	github.com/eiannone/keyboard v0.0.0-20220611211555-0d226195f203
 	github.com/gfleury/go-bitbucket-v1 v0.0.0-20230626192437-8d7be5866751
 	github.com/go-git/go-git/v5 v5.7.0
-	github.com/google/go-github/v50 v50.2.0
+	github.com/google/go-github/v53 v53.2.0
 	github.com/mitchellh/mapstructure v1.5.0
 	github.com/pkg/errors v0.9.1
 	github.com/sirupsen/logrus v1.9.3
diff --git a/go.sum b/go.sum
index fdbaf12..3f55142 100644
--- a/go.sum
+++ b/go.sum
@@ -138,8 +138,8 @@ github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/
 github.com/google/go-cmp v0.5.4/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/v53 v53.2.0 h1:wvz3FyF53v4BK+AsnvCmeNhf8AkTaeh2SoYu/XUvTtI=
+github.com/google/go-github/v53 v53.2.0/go.mod h1:XhFRObz+m/l+UCm9b7KSIC3lT3NWSXGt7mOsAWEloao=
 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=
diff --git a/internal/scm/github/github.go b/internal/scm/github/github.go
index eee1880..63e3041 100755
--- a/internal/scm/github/github.go
+++ b/internal/scm/github/github.go
@@ -9,7 +9,7 @@ import (
 	"sync"
 	"time"
 
-	"github.com/google/go-github/v50/github"
+	"github.com/google/go-github/v53/github"
 	"github.com/lindell/multi-gitter/internal/scm"
 	"github.com/pkg/errors"
 	log "github.com/sirupsen/logrus"
diff --git a/internal/scm/github/pullrequest.go b/internal/scm/github/pullrequest.go
index ea55348..a3fb469 100644
--- a/internal/scm/github/pullrequest.go
+++ b/internal/scm/github/pullrequest.go
@@ -3,7 +3,7 @@ package github
 import (
 	"fmt"
 
-	"github.com/google/go-github/v50/github"
+	"github.com/google/go-github/v53/github"
 
 	"github.com/lindell/multi-gitter/internal/scm"
 )
diff --git a/internal/scm/github/repository.go b/internal/scm/github/repository.go
index 1978f0b..22c33d6 100644
--- a/internal/scm/github/repository.go
+++ b/internal/scm/github/repository.go
@@ -4,7 +4,7 @@ import (
 	"fmt"
 	"net/url"
 
-	"github.com/google/go-github/v50/github"
+	"github.com/google/go-github/v53/github"
 	"github.com/pkg/errors"
 )
 
diff --git a/internal/scm/github/retry.go b/internal/scm/github/retry.go
index b838bb3..ac868f4 100644
--- a/internal/scm/github/retry.go
+++ b/internal/scm/github/retry.go
@@ -7,7 +7,7 @@ import (
 	"strings"
 	"time"
 
-	"github.com/google/go-github/v50/github"
+	"github.com/google/go-github/v53/github"
 	"github.com/pkg/errors"
 	log "github.com/sirupsen/logrus"
 )
diff --git a/internal/scm/github/util.go b/internal/scm/github/util.go
index cf26c5f..d0dbaea 100644
--- a/internal/scm/github/util.go
+++ b/internal/scm/github/util.go
@@ -3,7 +3,7 @@ package github
 import (
 	"strings"
 
-	"github.com/google/go-github/v50/github"
+	"github.com/google/go-github/v53/github"
 	"github.com/lindell/multi-gitter/internal/scm"
 )
 


Test patch:
diff --git a/internal/scm/github/retry_test.go b/internal/scm/github/retry_test.go
index e722051..108149c 100644
--- a/internal/scm/github/retry_test.go
+++ b/internal/scm/github/retry_test.go
@@ -8,7 +8,7 @@ import (
 	"testing"
 	"time"
 
-	"github.com/google/go-github/v50/github"
+	"github.com/google/go-github/v53/github"
 	"github.com/pkg/errors"
 	"github.com/stretchr/testify/assert"
 )