From cce6236cd395dacdad0e4aca0c96ffece8c17761 Mon Sep 17 00:00:00 2001
From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue, 13 Feb 2024 16:26:43 -0700
Subject: [PATCH] fix(deps): update module github.com/google/go-github/v58 to
v59 (#31246)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
[![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/v58](https://togithub.com/google/go-github)
| `v58.0.0` -> `v59.0.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fgoogle%2fgo-github%2fv58/v59.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%2fv58/v59.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%2fv58/v58.0.0/v59.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%2fv58/v58.0.0/v59.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
:warning: MAJOR VERSION UPDATE :warning: - please manually update this
package
---
### Release Notes
google/go-github (github.com/google/go-github/v58)
###
[`v59.0.0`](https://togithub.com/google/go-github/releases/tag/v59.0.0)
[Compare
Source](https://togithub.com/google/go-github/compare/v58.0.0...v59.0.0)
This release contains the following breaking API changes:
- Add suspended as option to AdminService.CreateUser()
([#3049](https://togithub.com/google/go-github/issues/3049))
...and the following additional changes:
- Bump go-github from v57 to v58 in /scrape
([#3046](https://togithub.com/google/go-github/issues/3046))
- Fix issue in AcceptedError handling for UploadSarif
([#3047](https://togithub.com/google/go-github/issues/3047))
- Fix typos
([#3048](https://togithub.com/google/go-github/issues/3048))
- Add MergedAt field to PullRequestLinks
([#3053](https://togithub.com/google/go-github/issues/3053))
- Add default workflow permissions for enterprise/org/repo
([#3054](https://togithub.com/google/go-github/issues/3054))
- Bump actions/cache from 3 to 4
([#3055](https://togithub.com/google/go-github/issues/3055))
- Add Topics to EditChange struct
([#3057](https://togithub.com/google/go-github/issues/3057))
- Add list repo org variables and secrets
([#3058](https://togithub.com/google/go-github/issues/3058))
- Fix leaked client transport on copy
([#3051](https://togithub.com/google/go-github/issues/3051))
- Bump codecov/codecov-action from 3.1.4 to 3.1.5
([#3061](https://togithub.com/google/go-github/issues/3061))
- Bump github.com/getkin/kin-openapi from 0.122.0 to 0.123.0 in /tools
([#3062](https://togithub.com/google/go-github/issues/3062))
- Add custom properties on Repository and PushEventRepository
([#3065](https://togithub.com/google/go-github/issues/3065))
- Add support for deployment protection rules
([#3050](https://togithub.com/google/go-github/issues/3050))
- Bump codecov/codecov-action from 3.1.5 to 4.0.1
([#3066](https://togithub.com/google/go-github/issues/3066))
- Add ListWorkflowJobsAttempt method to ActionsService
([#3060](https://togithub.com/google/go-github/issues/3060))
- Bump version of go-github to v59.0.0
([#3068](https://togithub.com/google/go-github/issues/3068))
---
### Configuration
📅 **Schedule**: Branch creation - "on tuesday" (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.
---
- [ ] 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/open-telemetry/opentelemetry-collector-contrib).
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Andrzej Stencel
---
cmd/githubgen/codeowners.go | 2 +-
cmd/githubgen/go.mod | 2 +-
cmd/githubgen/go.sum | 4 ++--
receiver/gitproviderreceiver/go.mod | 2 +-
receiver/gitproviderreceiver/go.sum | 4 ++--
.../internal/scraper/githubscraper/helpers.go | 2 +-
.../internal/scraper/githubscraper/helpers_test.go | 2 +-
7 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/cmd/githubgen/codeowners.go b/cmd/githubgen/codeowners.go
index dc2374864ae5..614b76c054e7 100644
--- a/cmd/githubgen/codeowners.go
+++ b/cmd/githubgen/codeowners.go
@@ -10,7 +10,7 @@ import (
"sort"
"strings"
- "github.com/google/go-github/v58/github"
+ "github.com/google/go-github/v59/github"
)
const allowlistHeader = `# Code generated by githubgen. DO NOT EDIT.
diff --git a/cmd/githubgen/go.mod b/cmd/githubgen/go.mod
index 1629be0006b8..63ebd59fbf60 100644
--- a/cmd/githubgen/go.mod
+++ b/cmd/githubgen/go.mod
@@ -3,7 +3,7 @@ module github.com/open-telemetry/opentelemetry-collector-contrib/cmd/githubgen
go 1.21
require (
- github.com/google/go-github/v58 v58.0.0
+ github.com/google/go-github/v59 v59.0.0
go.opentelemetry.io/collector/confmap v0.94.1
gopkg.in/yaml.v3 v3.0.1
)
diff --git a/cmd/githubgen/go.sum b/cmd/githubgen/go.sum
index 24d7fb4153cd..26c12d0b221e 100644
--- a/cmd/githubgen/go.sum
+++ b/cmd/githubgen/go.sum
@@ -5,8 +5,8 @@ github.com/go-viper/mapstructure/v2 v2.0.0-alpha.1/go.mod h1:oJDH3BJKyqBA2TXFhDs
github.com/google/go-cmp v0.5.2/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/v58 v58.0.0 h1:Una7GGERlF/37XfkPwpzYJe0Vp4dt2k1kCjlxwjIvzw=
-github.com/google/go-github/v58 v58.0.0/go.mod h1:k4hxDKEfoWpSqFlc8LTpGd9fu2KrV1YAa6Hi6FmDNY4=
+github.com/google/go-github/v59 v59.0.0 h1:7h6bgpF5as0YQLLkEiVqpgtJqjimMYhBkD4jT5aN3VA=
+github.com/google/go-github/v59 v59.0.0/go.mod h1:rJU4R0rQHFVFDOkqGWxfLNo6vEk4dv40oDjhV/gH6wM=
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/knadh/koanf/maps v0.1.1 h1:G5TjmUh2D7G2YWf5SQQqSiHRJEjaicvU0KpypqB3NIs=
diff --git a/receiver/gitproviderreceiver/go.mod b/receiver/gitproviderreceiver/go.mod
index cf102710b344..af62aa537093 100644
--- a/receiver/gitproviderreceiver/go.mod
+++ b/receiver/gitproviderreceiver/go.mod
@@ -5,7 +5,7 @@ go 1.21
require (
github.com/Khan/genqlient v0.6.0
github.com/google/go-cmp v0.6.0
- github.com/google/go-github/v58 v58.0.0
+ github.com/google/go-github/v59 v59.0.0
github.com/stretchr/testify v1.8.4
go.opentelemetry.io/collector/component v0.94.1
go.opentelemetry.io/collector/config/confighttp v0.94.1
diff --git a/receiver/gitproviderreceiver/go.sum b/receiver/gitproviderreceiver/go.sum
index ea9e3294abda..3f5c1c44b0be 100644
--- a/receiver/gitproviderreceiver/go.sum
+++ b/receiver/gitproviderreceiver/go.sum
@@ -67,8 +67,8 @@ github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/
github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
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/v58 v58.0.0 h1:Una7GGERlF/37XfkPwpzYJe0Vp4dt2k1kCjlxwjIvzw=
-github.com/google/go-github/v58 v58.0.0/go.mod h1:k4hxDKEfoWpSqFlc8LTpGd9fu2KrV1YAa6Hi6FmDNY4=
+github.com/google/go-github/v59 v59.0.0 h1:7h6bgpF5as0YQLLkEiVqpgtJqjimMYhBkD4jT5aN3VA=
+github.com/google/go-github/v59 v59.0.0/go.mod h1:rJU4R0rQHFVFDOkqGWxfLNo6vEk4dv40oDjhV/gH6wM=
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/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
diff --git a/receiver/gitproviderreceiver/internal/scraper/githubscraper/helpers.go b/receiver/gitproviderreceiver/internal/scraper/githubscraper/helpers.go
index 9bc78315ad5c..45de044c7f9b 100644
--- a/receiver/gitproviderreceiver/internal/scraper/githubscraper/helpers.go
+++ b/receiver/gitproviderreceiver/internal/scraper/githubscraper/helpers.go
@@ -10,7 +10,7 @@ import (
"time"
"github.com/Khan/genqlient/graphql"
- "github.com/google/go-github/v58/github"
+ "github.com/google/go-github/v59/github"
"go.uber.org/zap"
)
diff --git a/receiver/gitproviderreceiver/internal/scraper/githubscraper/helpers_test.go b/receiver/gitproviderreceiver/internal/scraper/githubscraper/helpers_test.go
index 913950f592b4..9de036852df4 100644
--- a/receiver/gitproviderreceiver/internal/scraper/githubscraper/helpers_test.go
+++ b/receiver/gitproviderreceiver/internal/scraper/githubscraper/helpers_test.go
@@ -15,7 +15,7 @@ import (
"time"
"github.com/Khan/genqlient/graphql"
- "github.com/google/go-github/v58/github"
+ "github.com/google/go-github/v59/github"
"github.com/stretchr/testify/assert"
"go.opentelemetry.io/collector/receiver/receivertest"
)