Repository: lindell/multi-gitter
Pull request #390 (2023-10-01 10:49:49)

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

This PR contains the following updates:

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

---

### Release Notes

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

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

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

This release contains the following breaking API changes:

-   Add missing fields to SecurityAdvisoryEvent and rename others ([#&#8203;2889](https://togithub.com/google/go-github/issues/2889))

and the following additional changes:

-   Bump go-github from v53 to v54 in /scrape ([#&#8203;2882](https://togithub.com/google/go-github/issues/2882))
-   Add support for enable/disable private vulnerability reporting on repositories ([#&#8203;2887](https://togithub.com/google/go-github/issues/2887))
-   Add support for organization, repository webhook configuration ([#&#8203;2885](https://togithub.com/google/go-github/issues/2885))
-   Return json.Unmarshal error when importing issues deferred ([#&#8203;2892](https://togithub.com/google/go-github/issues/2892))
-   Remove dependency on "golang.org/x/oauth2" ([#&#8203;2895](https://togithub.com/google/go-github/issues/2895))
-   Add support for dependabot_alert webhook event ([#&#8203;2888](https://togithub.com/google/go-github/issues/2888))
-   Fix merge issue from field renaming ([#&#8203;2906](https://togithub.com/google/go-github/issues/2906))
-   Add missing CodeScanning endpoints ([#&#8203;2900](https://togithub.com/google/go-github/issues/2900))
-   Update package constructors ([#&#8203;2904](https://togithub.com/google/go-github/issues/2904))
-   Fix serialization of repository_names conditions object ([#&#8203;2910](https://togithub.com/google/go-github/issues/2910))
-   Bump actions/checkout from 3 to 4 ([#&#8203;2912](https://togithub.com/google/go-github/issues/2912))
-   Bump version of go-github to v55.0.0 ([#&#8203;2914](https://togithub.com/google/go-github/issues/2914))

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

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

This release contains the following breaking API changes:

-   Fix ListPullRequestsWithCommit option type ([#&#8203;2822](https://togithub.com/google/go-github/issues/2822))
-   Support repository_id in org ruleset conditions ([#&#8203;2825](https://togithub.com/google/go-github/issues/2825))
-   Fix repo rules bypass settings ([#&#8203;2831](https://togithub.com/google/go-github/issues/2831))
-   Fix old_name field in AuditEntry ([#&#8203;2849](https://togithub.com/google/go-github/issues/2849))

and the following additional changes:

-   Bump golang.org/x/net from 0.10.0 to 0.11.0 in /scrape ([#&#8203;2814](https://togithub.com/google/go-github/issues/2814))
-   Bump golang.org/x/oauth2 from 0.8.0 to 0.9.0 ([#&#8203;2812](https://togithub.com/google/go-github/issues/2812))
-   Bump github.com/google/go-github/v53 from 53.0.0 to 53.2.0 in /scrape ([#&#8203;2813](https://togithub.com/google/go-github/issues/2813))
-   Add Runner to generate-jitconfig method ([#&#8203;2818](https://togithub.com/google/go-github/issues/2818))
-   Remove unnecessary use of fmt.Sprintf ([#&#8203;2819](https://togithub.com/google/go-github/issues/2819))
-   Use bytes.Equal instead of bytes.Compare ([#&#8203;2820](https://togithub.com/google/go-github/issues/2820))
-   Fix CreateOrUpdateOrgSecret regression introduced in v53 ([#&#8203;2817](https://togithub.com/google/go-github/issues/2817))
-   Add Repository struct to SecretScanningAlert ([#&#8203;2823](https://togithub.com/google/go-github/issues/2823))
-   Add support for personal access tokens request review API ([#&#8203;2827](https://togithub.com/google/go-github/issues/2827))
-   Add support for personal_access_token_request webhook event type ([#&#8203;2826](https://togithub.com/google/go-github/issues/2826))
-   Support line comments on PRs ([#&#8203;2833](https://togithub.com/google/go-github/issues/2833))
-   Implement installation_target webhook event type ([#&#8203;2829](https://togithub.com/google/go-github/issues/2829))
-   Add secret type display to secret scanning alert ([#&#8203;2834](https://togithub.com/google/go-github/issues/2834))
-   Use a sentinel error when blocking paths for RepositoriesServices.GetContents ([#&#8203;2837](https://togithub.com/google/go-github/issues/2837))
-   Add support for SAML SSO authorization APIs ([#&#8203;2835](https://togithub.com/google/go-github/issues/2835))
-   Bump golang.org/x/net from 0.11.0 to 0.12.0 in /scrape ([#&#8203;2839](https://togithub.com/google/go-github/issues/2839))
-   Bump golang.org/x/oauth2 from 0.9.0 to 0.10.0 ([#&#8203;2840](https://togithub.com/google/go-github/issues/2840))
-   Add Dependabot field in security_and_analysis ([#&#8203;2846](https://togithub.com/google/go-github/issues/2846))
-   Add new query params for AlertListOptions ([#&#8203;2848](https://togithub.com/google/go-github/issues/2848))
-   Add old_name field to AuditEntry ([#&#8203;2843](https://togithub.com/google/go-github/issues/2843))
-   Add OldLogin field to AuditEntryData ([#&#8203;2850](https://togithub.com/google/go-github/issues/2850))
-   Check for nil pointer in update rule parameters ([#&#8203;2854](https://togithub.com/google/go-github/issues/2854))
-   Fix dropped test error ([#&#8203;2858](https://togithub.com/google/go-github/issues/2858))
-   Bump golang.org/x/oauth2 from 0.10.0 to 0.11.0 ([#&#8203;2859](https://togithub.com/google/go-github/issues/2859))
-   Bump golang.org/x/net from 0.12.0 to 0.14.0 in /scrape ([#&#8203;2860](https://togithub.com/google/go-github/issues/2860))
-   Add ListOptions pagination for Dependabot alerts ([#&#8203;2853](https://togithub.com/google/go-github/issues/2853))
-   Add support for Security Advisories Request CVE endpoint ([#&#8203;2857](https://togithub.com/google/go-github/issues/2857))
-   Add support for the security and analysis webhook event ([#&#8203;2862](https://togithub.com/google/go-github/issues/2862))
-   Add support for projects_v2 and projects_v2\_item webhook events ([#&#8203;2868](https://togithub.com/google/go-github/issues/2868))
-   Defer closing body before checking HTTP status code ([#&#8203;2870](https://togithub.com/google/go-github/issues/2870))
-   Add GetAutomatedSecurityFixes to report status ([#&#8203;2842](https://togithub.com/google/go-github/issues/2842))
-   Adding missing field important to find branch in fork from same owner ([#&#8203;2873](https://togithub.com/google/go-github/issues/2873))
-   Add WorkflowRun and Workflow to DeploymentEvent ([#&#8203;2755](https://togithub.com/google/go-github/issues/2755))
-   Replace deprectated crypto/ssh/terminal module in examples ([#&#8203;2876](https://togithub.com/google/go-github/issues/2876))
-   Update workflow to use Go 1.21 and 1.20 ([#&#8203;2878](https://togithub.com/google/go-github/issues/2878))
-   Add TriggeringActor to WorkflowRun ([#&#8203;2879](https://togithub.com/google/go-github/issues/2879))
-   Add WebhookTypes and EventForType methods ([#&#8203;2865](https://togithub.com/google/go-github/issues/2865))
-   Add support for fetching SBOMs ([#&#8203;2869](https://togithub.com/google/go-github/issues/2869))
-   Add SubmoduleGitURL to RepositoryContent ([#&#8203;2880](https://togithub.com/google/go-github/issues/2880))
-   Bump version of go-github to v54.0.0 ([#&#8203;2881](https://togithub.com/google/go-github/issues/2881))

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



Patch:
diff --git a/go.mod b/go.mod
index 9635627..93decdc 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.9.0
-	github.com/google/go-github/v53 v53.2.0
+	github.com/google/go-github/v55 v55.0.0
 	github.com/mitchellh/mapstructure v1.5.0
 	github.com/pkg/errors v0.9.1
 	github.com/sirupsen/logrus v1.9.3
@@ -15,8 +15,8 @@ require (
 	github.com/spf13/pflag v1.0.5
 	github.com/spf13/viper v1.16.0
 	github.com/stretchr/testify v1.8.4
-	github.com/xanzy/go-gitlab v0.90.0
-	golang.org/x/oauth2 v0.11.0
+	github.com/xanzy/go-gitlab v0.92.3
+	golang.org/x/oauth2 v0.12.0
 )
 
 require (
diff --git a/go.sum b/go.sum
index 38f0c7d..4c190fb 100644
--- a/go.sum
+++ b/go.sum
@@ -144,8 +144,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/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-github/v55 v55.0.0 h1:4pp/1tNMB9X/LuAhs5i0KQAE40NmiR/y6prLNb9x9cg=
+github.com/google/go-github/v55 v55.0.0/go.mod h1:JLahOTA1DnXzhxEymmFF5PP2tSS9JVNj68mSZNDwskA=
 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=
@@ -252,8 +252,8 @@ github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcU
 github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo=
 github.com/subosito/gotenv v1.4.2 h1:X1TuBLAMDFbaTAChgCBLu3DU3UPyELpnF2jjJ2cz/S8=
 github.com/subosito/gotenv v1.4.2/go.mod h1:ayKnFf/c6rvx/2iiLrJUk1e6plDbT3edrFNGqEflhK0=
-github.com/xanzy/go-gitlab v0.90.0 h1:j8ZUHfLfXdnC+B8njeNaW/kM44c1zw8fiuNj7D+qQN8=
-github.com/xanzy/go-gitlab v0.90.0/go.mod h1:5ryv+MnpZStBH8I/77HuQBsMbBGANtVpLWC15qOjWAw=
+github.com/xanzy/go-gitlab v0.92.3 h1:bMtUHSV5BIhKeka6RyjLOOMZ31byVGDN5pGWmqBsIUs=
+github.com/xanzy/go-gitlab v0.92.3/go.mod h1:5ryv+MnpZStBH8I/77HuQBsMbBGANtVpLWC15qOjWAw=
 github.com/xanzy/ssh-agent v0.3.3 h1:+/15pJfg/RsTxqYcX6fHqOXZwwMP+2VyYWJeWM2qQFM=
 github.com/xanzy/ssh-agent v0.3.3/go.mod h1:6dzNDKs0J9rVPHPhaGCukekBHKqfl+L3KghI1Bc68Uw=
 github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
@@ -367,8 +367,8 @@ golang.org/x/oauth2 v0.0.0-20200902213428-5d25da1a8d43/go.mod h1:KelEdhl1UZF7XfJ
 golang.org/x/oauth2 v0.0.0-20201109201403-9fd604954f58/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
 golang.org/x/oauth2 v0.0.0-20201208152858-08078c50e5b5/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
 golang.org/x/oauth2 v0.0.0-20210218202405-ba52d332ba99/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A=
-golang.org/x/oauth2 v0.11.0 h1:vPL4xzxBM4niKCW6g9whtaWVXTJf1U5e4aZxxFx/gbU=
-golang.org/x/oauth2 v0.11.0/go.mod h1:LdF7O/8bLR/qWK9DrpXmbHLTouvRHK0SgJl0GmDBchk=
+golang.org/x/oauth2 v0.12.0 h1:smVPGxink+n1ZI5pkQa8y6fZT0RW0MgCO5bFpepy4B4=
+golang.org/x/oauth2 v0.12.0/go.mod h1:A74bZ3aGXgCY0qaIC9Ahg6Lglin4AMAco8cIv9baba4=
 golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
 golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
 golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
diff --git a/internal/scm/github/github.go b/internal/scm/github/github.go
index 63e3041..a2391b0 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/v53/github"
+	"github.com/google/go-github/v55/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 959a863..e3477cf 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/v53/github"
+	"github.com/google/go-github/v55/github"
 
 	"github.com/lindell/multi-gitter/internal/scm"
 )
diff --git a/internal/scm/github/repository.go b/internal/scm/github/repository.go
index 22c33d6..bf156a2 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/v53/github"
+	"github.com/google/go-github/v55/github"
 	"github.com/pkg/errors"
 )
 
diff --git a/internal/scm/github/retry.go b/internal/scm/github/retry.go
index ac868f4..a5cbd85 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/v53/github"
+	"github.com/google/go-github/v55/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 d0dbaea..2ef96b1 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/v53/github"
+	"github.com/google/go-github/v55/github"
 	"github.com/lindell/multi-gitter/internal/scm"
 )
 
diff --git a/internal/scm/gitlab/gitlab.go b/internal/scm/gitlab/gitlab.go
index ec1800a..404d38a 100644
--- a/internal/scm/gitlab/gitlab.go
+++ b/internal/scm/gitlab/gitlab.go
@@ -318,7 +318,7 @@ func (g *Gitlab) GetPullRequests(ctx context.Context, branchName string) ([]scm.
 			continue
 		}
 
-		prs = append(prs, convertMergeRequest(mr, project.Path, project.Namespace.Path))
+		prs = append(prs, convertMergeRequest(mr, project.Path, project.Namespace.FullPath))
 	}
 
 	return prs, nil


Test patch:
diff --git a/internal/scm/github/retry_test.go b/internal/scm/github/retry_test.go
index 108149c..ebd1a8a 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/v53/github"
+	"github.com/google/go-github/v55/github"
 	"github.com/pkg/errors"
 	"github.com/stretchr/testify/assert"
 )