Repository: kubernetes/release
Pull request #2840 (2023-01-03 09:48:32)

go.mod: Update github.com/google/go-github to v48.2.0
#### What type of PR is this?

/kind cleanup
/kind feature

#### What this PR does / why we need it:

- go.mod: Update github.com/google/go-github to v48.2.0

similar we did here: https://github.com/kubernetes-sigs/release-sdk/pull/147

/assign @xmudrii  @saschagrunert @justaugustus @Verolop 

#### Which issue(s) this PR fixes:


None

#### Special notes for your reviewer:

#### Does this PR introduce a user-facing change?

<!--
If no, just write "NONE" in the release-note block below.
If yes, a release note is required:
Enter your extended release note in the block below. If the PR requires additional action from users switching to the new release, include the string "action required".

For more information on release notes see: https://git.k8s.io/community/contributors/guide/release-notes.md
-->

```release-note
NONE
```


k8s-ci-robot: [APPROVALNOTIFIER] This PR is **APPROVED**

This pull-request has been approved by: *<a href="https://github.com/kubernetes/release/pull/2840#" title="Author self-approved">cpanato</a>*

The full list of commands accepted by this bot can be found [here](https://go.k8s.io/bot-commands?repo=kubernetes%2Frelease).

The pull request process is described [here](https://git.k8s.io/community/contributors/guide/owners.md#the-code-review-process)

<details >
Needs approval from an approver in each of these files:

- ~~[OWNERS](https://github.com/kubernetes/release/blob/master/OWNERS)~~ [cpanato]

Approvers can indicate their approval by writing `/approve` in a comment
Approvers can cancel approval by writing `/approve cancel` in a comment
</details>
<!-- META={"approvers":[]} -->
k8s-ci-robot: @cpanato: The following test **failed**, say `/retest` to rerun all failed tests or `/retest-required` to rerun all mandatory failed tests:

Test name | Commit | Details | Required | Rerun command
--- | --- | --- | --- | ---
pull-release-verify | ce899f2e4f434673ead8e73071e4d6f5967a81df | [link](https://prow.k8s.io/view/gs/kubernetes-jenkins/pr-logs/pull/release/2840/pull-release-verify/1610211506715103232) | true | `/test pull-release-verify`

[Full PR test history](https://prow.k8s.io/pr-history?org=kubernetes&repo=release&pr=2840). [Your PR dashboard](https://prow.k8s.io/pr?query=is%3Apr%20state%3Aopen%20author%3Acpanato). Please help us cut down on flakes by [linking to](https://git.k8s.io/community/contributors/devel/sig-testing/flaky-tests.md#filing-issues-for-flaky-tests) an [open issue](https://github.com/kubernetes/release/issues?q=is:issue+is:open) when you hit one in your PR.

<details>

Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md).  If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository. I understand the commands that are listed [here](https://go.k8s.io/bot-commands).
</details>
<!-- test report -->
k8s-ci-robot: @cpanato: The following tests **failed**, say `/retest` to rerun all failed tests or `/retest-required` to rerun all mandatory failed tests:

Test name | Commit | Details | Required | Rerun command
--- | --- | --- | --- | ---
pull-release-verify | ce899f2e4f434673ead8e73071e4d6f5967a81df | [link](https://prow.k8s.io/view/gs/kubernetes-jenkins/pr-logs/pull/release/2840/pull-release-verify/1610211506715103232) | true | `/test pull-release-verify`
pull-release-integration-test | ce899f2e4f434673ead8e73071e4d6f5967a81df | [link](https://prow.k8s.io/view/gs/kubernetes-jenkins/pr-logs/pull/release/2840/pull-release-integration-test/1610211506668965888) | true | `/test pull-release-integration-test`

[Full PR test history](https://prow.k8s.io/pr-history?org=kubernetes&repo=release&pr=2840). [Your PR dashboard](https://prow.k8s.io/pr?query=is%3Apr%20state%3Aopen%20author%3Acpanato). Please help us cut down on flakes by [linking to](https://git.k8s.io/community/contributors/devel/sig-testing/flaky-tests.md#filing-issues-for-flaky-tests) an [open issue](https://github.com/kubernetes/release/issues?q=is:issue+is:open) when you hit one in your PR.

<details>

Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md).  If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository. I understand the commands that are listed [here](https://go.k8s.io/bot-commands).
</details>
<!-- test report -->
k8s-ci-robot: @cpanato: The following tests **failed**, say `/retest` to rerun all failed tests or `/retest-required` to rerun all mandatory failed tests:

Test name | Commit | Details | Required | Rerun command
--- | --- | --- | --- | ---
pull-release-verify | ce899f2e4f434673ead8e73071e4d6f5967a81df | [link](https://prow.k8s.io/view/gs/kubernetes-jenkins/pr-logs/pull/release/2840/pull-release-verify/1610211506715103232) | true | `/test pull-release-verify`
pull-release-integration-test | ce899f2e4f434673ead8e73071e4d6f5967a81df | [link](https://prow.k8s.io/view/gs/kubernetes-jenkins/pr-logs/pull/release/2840/pull-release-integration-test/1610211506668965888) | true | `/test pull-release-integration-test`
pull-release-test | ce899f2e4f434673ead8e73071e4d6f5967a81df | [link](https://prow.k8s.io/view/gs/kubernetes-jenkins/pr-logs/pull/release/2840/pull-release-test/1610211506614439936) | true | `/test pull-release-test`

[Full PR test history](https://prow.k8s.io/pr-history?org=kubernetes&repo=release&pr=2840). [Your PR dashboard](https://prow.k8s.io/pr?query=is%3Apr%20state%3Aopen%20author%3Acpanato). Please help us cut down on flakes by [linking to](https://git.k8s.io/community/contributors/devel/sig-testing/flaky-tests.md#filing-issues-for-flaky-tests) an [open issue](https://github.com/kubernetes/release/issues?q=is:issue+is:open) when you hit one in your PR.

<details>

Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md).  If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository. I understand the commands that are listed [here](https://go.k8s.io/bot-commands).
</details>
<!-- test report -->

Patch:
diff --git a/go.mod b/go.mod
index a89b16c7..16fbf75a 100644
--- a/go.mod
+++ b/go.mod
@@ -11,7 +11,7 @@ require (
 	github.com/goark/go-cvss v1.3.0
 	github.com/golang/protobuf v1.5.2
 	github.com/google/go-containerregistry v0.12.1
-	github.com/google/go-github/v47 v47.1.0
+	github.com/google/go-github/v48 v48.2.0
 	github.com/google/uuid v1.3.0
 	github.com/hashicorp/go-multierror v1.1.1
 	github.com/in-toto/in-toto-golang v0.3.4-0.20220709202702-fa494aaa0add
@@ -40,7 +40,7 @@ require (
 	sigs.k8s.io/bom v0.4.1
 	sigs.k8s.io/mdtoc v1.1.0
 	sigs.k8s.io/promo-tools/v3 v3.4.11
-	sigs.k8s.io/release-sdk v0.9.6
+	sigs.k8s.io/release-sdk v0.9.7
 	sigs.k8s.io/release-utils v0.7.3
 	sigs.k8s.io/yaml v1.3.0
 	sigs.k8s.io/zeitgeist v0.3.5
diff --git a/go.sum b/go.sum
index 7e5d2413..b31ed31a 100644
--- a/go.sum
+++ b/go.sum
@@ -753,8 +753,8 @@ github.com/google/go-containerregistry v0.12.1/go.mod h1:sdIK+oHQO7B93xI8UweYdl8
 github.com/google/go-github/v28 v28.1.1/go.mod h1:bsqJWQX05omyWVmc00nEUql9mhQyv38lDZ8kPZcQVoM=
 github.com/google/go-github/v45 v45.2.0 h1:5oRLszbrkvxDDqBCNj2hjDZMKmvexaZ1xw/FCD+K3FI=
 github.com/google/go-github/v45 v45.2.0/go.mod h1:FObaZJEDSTa/WGCzZ2Z3eoCDXWJKMenWWTrd8jrta28=
-github.com/google/go-github/v47 v47.1.0 h1:Cacm/WxQBOa9lF0FT0EMjZ2BWMetQ1TQfyurn4yF1z8=
-github.com/google/go-github/v47 v47.1.0/go.mod h1:VPZBXNbFSJGjyjFRUKo9vZGawTajnWzC/YjGw/oFKi0=
+github.com/google/go-github/v48 v48.2.0 h1:68puzySE6WqUY9KWmpOsDEQfDZsso98rT6pZcz9HqcE=
+github.com/google/go-github/v48 v48.2.0/go.mod h1:dDlehKBDo850ZPvCTK0sEqTCVWcrGl2LcDiajkYi89Y=
 github.com/google/go-licenses v0.0.0-20210329231322-ce1d9163b77d/go.mod h1:+TYOmkVoJOpwnS0wfdsJCV9CoD5nJYsHoFk/0CrTK4M=
 github.com/google/go-querystring v1.0.0/go.mod h1:odCYkC5MyYFN7vkCjXpyrEuKhc/BUO6wN/zVPAxq5ck=
 github.com/google/go-querystring v1.1.0 h1:AnCroh3fv4ZBgVIf1Iwtovgjaw/GiKJo8M8yD/fhyJ8=
@@ -2415,8 +2415,8 @@ sigs.k8s.io/mdtoc v1.1.0 h1:q3YtqYzmC2e0hgLXRIOm7/QLuPux1CX3ZHCwlbABxZo=
 sigs.k8s.io/mdtoc v1.1.0/go.mod h1:QZLVEdHH2iNIR4uHAZyvFRtjloHgVItk8lo/mzCtq3w=
 sigs.k8s.io/promo-tools/v3 v3.4.11 h1:tKmdHlFEJZozp7IkFSZebuj9YizgNJ9VRn8CYVoZtEg=
 sigs.k8s.io/promo-tools/v3 v3.4.11/go.mod h1:kk8GXTrIFNvFS8j/aktGnd9Mi6lMH/zUV09/2FMX7ug=
-sigs.k8s.io/release-sdk v0.9.6 h1:w1ts1DLythBr3BW2gt/HFfsqp+i19b8sJLPawvnwP58=
-sigs.k8s.io/release-sdk v0.9.6/go.mod h1:I/xiA52I2KKMrhCVCY0AdALTTIf4uf1KpaPl4R3xwDc=
+sigs.k8s.io/release-sdk v0.9.7 h1:YWZX0HxknbrxBO5XQUuXobc9GJ6Ol5kiNXRqR9+mmCk=
+sigs.k8s.io/release-sdk v0.9.7/go.mod h1:jf1OljdCZ0XncrztYOIM9vBQaCBu3dlvUC1Iasv4S9Q=
 sigs.k8s.io/release-utils v0.7.3 h1:6pS8x6c5RmdUgR9qcg1LO6hjUzuE4Yo9TGZ3DemrZdM=
 sigs.k8s.io/release-utils v0.7.3/go.mod h1:n0mVez/1PZYZaZUTJmxewxH3RJ/Lf7JUDh7TG1CASOE=
 sigs.k8s.io/structured-merge-diff/v4 v4.2.3 h1:PRbqxJClWWYMNV1dhaG4NsibJbArud9kFxnAMREiWFE=
diff --git a/pkg/changelog/changelogfakes/fake_impl.go b/pkg/changelog/changelogfakes/fake_impl.go
index 058cb17b..f4f4505b 100644
--- a/pkg/changelog/changelogfakes/fake_impl.go
+++ b/pkg/changelog/changelogfakes/fake_impl.go
@@ -23,7 +23,7 @@ import (
 	"sync"
 	"text/template"
 
-	"github.com/blang/semver/v4"
+	semver "github.com/blang/semver/v4"
 	"github.com/yuin/goldmark/parser"
 	"k8s.io/release/pkg/notes"
 	"k8s.io/release/pkg/notes/document"
diff --git a/pkg/fastforward/fastforwardfakes/fake_impl.go b/pkg/fastforward/fastforwardfakes/fake_impl.go
index f82f9799..b3ebc8e8 100644
--- a/pkg/fastforward/fastforwardfakes/fake_impl.go
+++ b/pkg/fastforward/fastforwardfakes/fake_impl.go
@@ -20,7 +20,7 @@ package fastforwardfakes
 import (
 	"sync"
 
-	"github.com/google/go-github/v47/github"
+	"github.com/google/go-github/v48/github"
 	"k8s.io/release/pkg/gcp/gcb"
 	"sigs.k8s.io/release-sdk/git"
 )
diff --git a/pkg/fastforward/impl.go b/pkg/fastforward/impl.go
index a4a55a30..0eb9200e 100644
--- a/pkg/fastforward/impl.go
+++ b/pkg/fastforward/impl.go
@@ -22,7 +22,7 @@ import (
 	"k8s.io/release/pkg/gcp/gcb"
 	"k8s.io/release/pkg/release"
 
-	gogithub "github.com/google/go-github/v47/github"
+	gogithub "github.com/google/go-github/v48/github"
 	"sigs.k8s.io/release-sdk/git"
 	"sigs.k8s.io/release-sdk/github"
 	"sigs.k8s.io/release-utils/env"
diff --git a/pkg/gcp/gcb/gcbfakes/fake_release.go b/pkg/gcp/gcb/gcbfakes/fake_release.go
index d681d811..eacefd53 100644
--- a/pkg/gcp/gcb/gcbfakes/fake_release.go
+++ b/pkg/gcp/gcb/gcbfakes/fake_release.go
@@ -20,7 +20,7 @@ package gcbfakes
 import (
 	"sync"
 
-	"github.com/blang/semver/v4"
+	semver "github.com/blang/semver/v4"
 	"k8s.io/release/pkg/gcp/gcb"
 	"k8s.io/release/pkg/release"
 )
diff --git a/pkg/kubepkg/kubepkg.go b/pkg/kubepkg/kubepkg.go
index 310b8acf..c3b6981a 100644
--- a/pkg/kubepkg/kubepkg.go
+++ b/pkg/kubepkg/kubepkg.go
@@ -26,7 +26,7 @@ import (
 	"time"
 
 	"github.com/blang/semver/v4"
-	gogithub "github.com/google/go-github/v47/github"
+	gogithub "github.com/google/go-github/v48/github"
 	"github.com/sirupsen/logrus"
 
 	"k8s.io/release/pkg/kubepkg/options"
diff --git a/pkg/kubepkg/kubepkgfakes/fake_impl.go b/pkg/kubepkg/kubepkgfakes/fake_impl.go
index eff12b19..fa0ac1b0 100644
--- a/pkg/kubepkg/kubepkgfakes/fake_impl.go
+++ b/pkg/kubepkg/kubepkgfakes/fake_impl.go
@@ -21,7 +21,7 @@ import (
 	"io/fs"
 	"sync"
 
-	"github.com/google/go-github/v47/github"
+	"github.com/google/go-github/v48/github"
 	"k8s.io/release/pkg/kubepkg"
 	"k8s.io/release/pkg/release"
 )
diff --git a/pkg/notes/notes.go b/pkg/notes/notes.go
index 460228e3..fbce6355 100644
--- a/pkg/notes/notes.go
+++ b/pkg/notes/notes.go
@@ -34,7 +34,7 @@ import (
 	"time"
 	"unicode"
 
-	gogithub "github.com/google/go-github/v47/github"
+	gogithub "github.com/google/go-github/v48/github"
 	"github.com/nozzle/throttler"
 	"github.com/sirupsen/logrus"
 	"golang.org/x/text/cases"
diff --git a/pkg/packages/packagesfakes/fake_impl.go b/pkg/packages/packagesfakes/fake_impl.go
index 30b7cfae..c2e43b72 100644
--- a/pkg/packages/packagesfakes/fake_impl.go
+++ b/pkg/packages/packagesfakes/fake_impl.go
@@ -14,6 +14,22 @@ See the License for the specific language governing permissions and
 limitations under the License.
 */
 
+/*
+Copyright The Kubernetes Authors.
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+*/
+
 // Code generated by counterfeiter. DO NOT EDIT.
 package packagesfakes
 


Test patch:
diff --git a/pkg/fastforward/fastforward_test.go b/pkg/fastforward/fastforward_test.go
index d6056b47..374fd4ef 100644
--- a/pkg/fastforward/fastforward_test.go
+++ b/pkg/fastforward/fastforward_test.go
@@ -22,7 +22,7 @@ import (
 	"strings"
 	"testing"
 
-	gogithub "github.com/google/go-github/v47/github"
+	gogithub "github.com/google/go-github/v48/github"
 	"github.com/stretchr/testify/require"
 	"k8s.io/release/pkg/fastforward/fastforwardfakes"
 )
diff --git a/pkg/notes/notes_gatherer_test.go b/pkg/notes/notes_gatherer_test.go
index e66dee4a..fe26edca 100644
--- a/pkg/notes/notes_gatherer_test.go
+++ b/pkg/notes/notes_gatherer_test.go
@@ -28,7 +28,7 @@ import (
 	"testing"
 	"time"
 
-	"github.com/google/go-github/v47/github"
+	"github.com/google/go-github/v48/github"
 	"github.com/sirupsen/logrus"
 	"sigs.k8s.io/release-sdk/git"
 	"sigs.k8s.io/release-sdk/github/githubfakes"