Repository: lindell/multi-gitter
Pull request #445 (2024-01-01 03:16:04)

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

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [github.com/google/go-github/v56](https://togithub.com/google/go-github) | `v56.0.0` -> `v57.0.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgoogle%2fgo-github%2fv56/v57.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fgoogle%2fgo-github%2fv56/v57.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fgoogle%2fgo-github%2fv56/v56.0.0/v57.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fgoogle%2fgo-github%2fv56/v56.0.0/v57.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

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

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

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

This release contains the following breaking API change:

-   Change PushEvent.Pusher type to CommitAuthor ([#&#8203;2999](https://togithub.com/google/go-github/issues/2999))

...and the following additional changes:

-   Bump go-github from v55 to v56 in /scrape ([#&#8203;2962](https://togithub.com/google/go-github/issues/2962))
-   Add support for packages IP address for APIMeta ([#&#8203;2964](https://togithub.com/google/go-github/issues/2964))
-   Bump github.com/google/go-cmp from 0.5.9 to 0.6.0 ([#&#8203;2967](https://togithub.com/google/go-github/issues/2967))
-   Move RateLimits method to a service ([#&#8203;2969](https://togithub.com/google/go-github/issues/2969))
-   Add nil check in ErrorResponse.Error method ([#&#8203;2971](https://togithub.com/google/go-github/issues/2971))
-   Lint godoc comments ([#&#8203;2972](https://togithub.com/google/go-github/issues/2972))
-   Add referenced workflows to WorkflowRun ([#&#8203;2975](https://togithub.com/google/go-github/issues/2975))
-   Use metadata to reconcile go-github with GitHub's OpenAPI descriptions ([#&#8203;2919](https://togithub.com/google/go-github/issues/2919))
-   Fix branch protection request fields ([#&#8203;2977](https://togithub.com/google/go-github/issues/2977))
-   Add dependabot alert update endpoint ([#&#8203;2981](https://togithub.com/google/go-github/issues/2981))
-   Bump golang.org/x/sync from 0.4.0 to 0.5.0 in /tools ([#&#8203;2990](https://togithub.com/google/go-github/issues/2990))
-   Deprecate RepositoriesService.List ([#&#8203;2988](https://togithub.com/google/go-github/issues/2988))
-   Add support for Required Workflows ([#&#8203;2979](https://togithub.com/google/go-github/issues/2979))
-   Implement Custom Properties ([#&#8203;2986](https://togithub.com/google/go-github/issues/2986))
-   Bump golang.org/x/net from 0.17.0 to 0.18.0 in /scrape ([#&#8203;2991](https://togithub.com/google/go-github/issues/2991))
-   Add default branch to repository edit event ([#&#8203;2995](https://togithub.com/google/go-github/issues/2995))
-   Add Draft to Issue type ([#&#8203;2997](https://togithub.com/google/go-github/issues/2997))
-   Fix secondary rate limits URL ([#&#8203;3001](https://togithub.com/google/go-github/issues/3001))
-   Bump golang.org/x/net from 0.18.0 to 0.19.0 in /scrape ([#&#8203;3003](https://togithub.com/google/go-github/issues/3003))
-   Implement global security advisories API ([#&#8203;2993](https://togithub.com/google/go-github/issues/2993))
-   Bump version of go-github to v57.0.0 ([#&#8203;3009](https://togithub.com/google/go-github/issues/3009))

</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4xMDMuMSIsInVwZGF0ZWRJblZlciI6IjM3LjEyMS4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIn0=-->



Patch:
diff --git a/go.mod b/go.mod
index aad7a43..9b109f4 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-20230830121038-6e30c5760c87
 	github.com/go-git/go-git/v5 v5.11.0
-	github.com/google/go-github/v56 v56.0.0
+	github.com/google/go-github/v57 v57.0.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 93b73d3..1acc9b7 100644
--- a/go.sum
+++ b/go.sum
@@ -64,8 +64,8 @@ github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/
 github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
 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/v56 v56.0.0 h1:TysL7dMa/r7wsQi44BjqlwaHvwlFlqkK8CtBWCX3gb4=
-github.com/google/go-github/v56 v56.0.0/go.mod h1:D8cdcX98YWJvi7TLo7zM4/h8ZTx6u6fwGEkCdisopo0=
+github.com/google/go-github/v57 v57.0.0 h1:L+Y3UPTY8ALM8x+TV0lg+IEBI+upibemtBD8Q9u7zHs=
+github.com/google/go-github/v57 v57.0.0/go.mod h1:s0omdnye0hvK/ecLvpsGfJMiRt85PimQh4oygmLIxHw=
 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/gorilla/mux v1.7.4 h1:VuZ8uybHlWmqV03+zRzdwKL4tUnIp1MAQtp1mIFE1bc=
diff --git a/internal/scm/github/github.go b/internal/scm/github/github.go
index 12a34d1..5325bac 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/v56/github"
+	"github.com/google/go-github/v57/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 0b8c902..be44c2f 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/v56/github"
+	"github.com/google/go-github/v57/github"
 
 	"github.com/lindell/multi-gitter/internal/scm"
 )
diff --git a/internal/scm/github/repository.go b/internal/scm/github/repository.go
index 35a04ea..a86fda2 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/v56/github"
+	"github.com/google/go-github/v57/github"
 	"github.com/pkg/errors"
 )
 
diff --git a/internal/scm/github/retry.go b/internal/scm/github/retry.go
index fc63d3a..adf4078 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/v56/github"
+	"github.com/google/go-github/v57/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 3a0aac7..8204465 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/v56/github"
+	"github.com/google/go-github/v57/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 261c8bf..e208b4d 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/v56/github"
+	"github.com/google/go-github/v57/github"
 	"github.com/pkg/errors"
 	"github.com/stretchr/testify/assert"
 )