aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>2024-07-16 02:20:07 +0200
committerGitHub <noreply@github.com>2024-07-16 02:20:07 +0200
commitf0ab00b6c939b6a64a5889510c1bed4a132bcfaf (patch)
treebb2ae1dc18a4eca3a6799b138540cf7ab3ef32b8
parentd87d4a4effe79fbbcd64ea83f7b52e6dd27ec6da (diff)
downloadgit-bug-f0ab00b6c939b6a64a5889510c1bed4a132bcfaf.tar.gz
build(deps): bump github.com/xanzy/go-gitlab from 0.90.0 to 0.106.0 (#1167)
* build(deps): bump github.com/xanzy/go-gitlab from 0.90.0 to 0.106.0 Bumps [github.com/xanzy/go-gitlab](https://github.com/xanzy/go-gitlab) from 0.90.0 to 0.106.0. - [Changelog](https://github.com/xanzy/go-gitlab/blob/main/releases_test.go) - [Commits](https://github.com/xanzy/go-gitlab/compare/v0.90.0...v0.106.0) --- updated-dependencies: - dependency-name: github.com/xanzy/go-gitlab dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * migrate --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: 6543 <6543@obermui.de>
-rw-r--r--bridge/gitlab/export.go2
-rw-r--r--go.mod2
-rw-r--r--go.sum4
3 files changed, 4 insertions, 4 deletions
diff --git a/bridge/gitlab/export.go b/bridge/gitlab/export.go
index 3beaec38..8cf8decf 100644
--- a/bridge/gitlab/export.go
+++ b/bridge/gitlab/export.go
@@ -526,7 +526,7 @@ func updateGitlabIssueTitle(ctx context.Context, gc *gitlab.Client, repositoryID
func updateGitlabIssueLabels(ctx context.Context, gc *gitlab.Client, repositoryID string, issueID int, labels []string) error {
ctx, cancel := context.WithTimeout(ctx, defaultTimeout)
defer cancel()
- gitlabLabels := gitlab.Labels(labels)
+ gitlabLabels := gitlab.LabelOptions(labels)
_, _, err := gc.Issues.UpdateIssue(
repositoryID, issueID,
&gitlab.UpdateIssueOptions{
diff --git a/go.mod b/go.mod
index f53ba08a..da2eceb3 100644
--- a/go.mod
+++ b/go.mod
@@ -30,7 +30,7 @@ require (
github.com/stretchr/testify v1.8.4
github.com/vbauerster/mpb/v8 v8.5.2
github.com/vektah/gqlparser/v2 v2.5.8
- github.com/xanzy/go-gitlab v0.90.0
+ github.com/xanzy/go-gitlab v0.106.0
golang.org/x/crypto v0.12.0
golang.org/x/oauth2 v0.11.0
golang.org/x/sync v0.3.0
diff --git a/go.sum b/go.sum
index 100d8013..f30b847d 100644
--- a/go.sum
+++ b/go.sum
@@ -293,8 +293,8 @@ github.com/vmihailenco/msgpack/v4 v4.3.12/go.mod h1:gborTTJjAo/GWTqqRjrLCn9pgNN+
github.com/vmihailenco/tagparser v0.1.1/go.mod h1:OeAg3pn3UbLjkWt+rN9oFYB6u/cQgqMEUPoW2WPyhdI=
github.com/willf/bitset v1.1.10 h1:NotGKqX0KwQ72NUzqrjZq5ipPNDQex9lo3WpaS8L2sc=
github.com/willf/bitset v1.1.10/go.mod h1:RjeCKbqT1RxIR/KWY6phxZiaY1IyutSBfGjNPySAYV4=
-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.106.0 h1:EDfD03K74cIlQo2EducfiupVrip+Oj02bq9ofw5F8sA=
+github.com/xanzy/go-gitlab v0.106.0/go.mod h1:ETg8tcj4OhrB84UEgeE8dSuV/0h4BBL1uOV/qK0vlyI=
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/xordataexchange/crypt v0.0.3-0.20170626215501-b2862e3d0a77/go.mod h1:aYKd//L2LvnjZzWKhF00oedf4jCCReLcmhLdhm1A27Q=