Repository: lindell/multi-gitter
Pull request #311 (2023-01-01 00:42:22)

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

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [github.com/google/go-github/v47](https://togithub.com/google/go-github) | require | major | `v47.1.0` -> `v48.2.0` |

---

### Release Notes

<details>
<summary>google/go-github</summary>

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

[Compare Source](https://togithub.com/google/go-github/compare/v48.1.0...v48.2.0)

This minor release includes the following changes:

-   Add parents field to timeline events ([#&#8203;2566](https://togithub.com/google/go-github/issues/2566))
-   Update doc URL for PackageGetAllVersions ([#&#8203;2568](https://togithub.com/google/go-github/issues/2568))
-   Add the 'require_last_push_approval' field ([#&#8203;2567](https://togithub.com/google/go-github/issues/2567))
-   Bump github.com/google/go-github/v48 from 48.0.0 to 48.1.0 in /scrape ([#&#8203;2573](https://togithub.com/google/go-github/issues/2573))
-   Bump golangci-lint version to 1.50.1 ([#&#8203;2576](https://togithub.com/google/go-github/issues/2576))
-   Add RunAttempt field for WorkflowJob ([#&#8203;2562](https://togithub.com/google/go-github/issues/2562))
-   Add LockBranch and AllowForkSyncing to repos.go ([#&#8203;2577](https://togithub.com/google/go-github/issues/2577))
-   Add new field for issue state reason ([#&#8203;2583](https://togithub.com/google/go-github/issues/2583))
-   Add support for repository actions access level / permission ([#&#8203;2578](https://togithub.com/google/go-github/issues/2578))
-   Add has_discussions field to repository ([#&#8203;2589](https://togithub.com/google/go-github/issues/2589))
-   Use 'concurrency' instead of 'styfle/cancel-workflow-action' in GitHub Actions ([#&#8203;2591](https://togithub.com/google/go-github/issues/2591))
-   Add MakeLatest parameter to support explicitly setting latest release ([#&#8203;2594](https://togithub.com/google/go-github/issues/2594))
-   Change create fork options from url param to body param ([#&#8203;2490](https://togithub.com/google/go-github/issues/2490))
-   Support new GitHub v3 API calendar-based versioning ([#&#8203;2581](https://togithub.com/google/go-github/issues/2581))
-   Update AUTHORS for v48.2.0

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

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

This minor release includes the following interesting changes:

-   Add apps to restriction rules in branch protection ([#&#8203;2509](https://togithub.com/google/go-github/issues/2509))
-   Add support for security manager endpoints ([#&#8203;2530](https://togithub.com/google/go-github/issues/2530))
-   Add support for cursor pagination in AlertListOptions ([#&#8203;2512](https://togithub.com/google/go-github/issues/2512))
-   Add merge_group webhook event via MergeGroupEvent and MergeGroup structs ([#&#8203;2556](https://togithub.com/google/go-github/issues/2556))
-   Code Scanning: add new field for dismissed comment ([#&#8203;2557](https://togithub.com/google/go-github/issues/2557))
-   Remove references to io/ioutil package ([#&#8203;2547](https://togithub.com/google/go-github/issues/2547))
-   Add support for Dependabot alert endpoints ([#&#8203;2554](https://togithub.com/google/go-github/issues/2554))
-   Support workflow restrictions in actions_runner_groups ([#&#8203;2559](https://togithub.com/google/go-github/issues/2559))

along with the following tests, docs, and/or maintenance updates:

-   Update scrape dependency to v48 ([#&#8203;2502](https://togithub.com/google/go-github/issues/2502))
-   Update AUTHORS for v48 ([#&#8203;2503](https://togithub.com/google/go-github/issues/2503))
-   Bump golangci/golangci-lint-action from 3.2.0 to 3.3.0 ([#&#8203;2515](https://togithub.com/google/go-github/issues/2515))
-   Add test case for JSON resource marshaling ([#&#8203;2517](https://togithub.com/google/go-github/issues/2517))
-   Add test case for JSON resource marshaling ([#&#8203;2526](https://togithub.com/google/go-github/issues/2526))
-   Fix typo in README URL ([#&#8203;2514](https://togithub.com/google/go-github/issues/2514))
-   Update workflow to use Go 1.19 and Go 1.18 ([#&#8203;2525](https://togithub.com/google/go-github/issues/2525))
-   Add test cases for JSON resource marshaling ([#&#8203;2524](https://togithub.com/google/go-github/issues/2524))
-   Add test cases for JSON resource marshaling ([#&#8203;2527](https://togithub.com/google/go-github/issues/2527))
-   Add test case for JSON resource marshaling ([#&#8203;2521](https://togithub.com/google/go-github/issues/2521))
-   Add test case for JSON resource marshaling ([#&#8203;2528](https://togithub.com/google/go-github/issues/2528))
-   Add test cases for JSON resource marshaling ([#&#8203;2520](https://togithub.com/google/go-github/issues/2520))
-   Add test cases for JSON resource marshaling ([#&#8203;2531](https://togithub.com/google/go-github/issues/2531))
-   Add test cases for JSON resource marshaling ([#&#8203;2532](https://togithub.com/google/go-github/issues/2532))
-   Add test for resource JSON marshaling ([#&#8203;2533](https://togithub.com/google/go-github/issues/2533))
-   Add tests for resource JSON marshaling ([#&#8203;2536](https://togithub.com/google/go-github/issues/2536))
-   Add test case for JSON resource marshaling ([#&#8203;2537](https://togithub.com/google/go-github/issues/2537))
-   Add test for resource JSON marshaling ([#&#8203;2538](https://togithub.com/google/go-github/issues/2538))
-   Add test case for JSON resource marshaling ([#&#8203;2539](https://togithub.com/google/go-github/issues/2539))
-   Add test case for JSON resource marshaling ([#&#8203;2542](https://togithub.com/google/go-github/issues/2542))
-   Add test case for JSON resource marshaling ([#&#8203;2541](https://togithub.com/google/go-github/issues/2541))
-   Add test case for JSON resource marshaling ([#&#8203;2544](https://togithub.com/google/go-github/issues/2544))
-   Add test case for JSON resource marshaling ([#&#8203;2543](https://togithub.com/google/go-github/issues/2543))
-   Add test case for JSON resource marshaling ([#&#8203;2545](https://togithub.com/google/go-github/issues/2545))
-   Add test case for JSON resource marshaling ([#&#8203;2546](https://togithub.com/google/go-github/issues/2546))
-   Add test case for JSON resource marshaling ([#&#8203;2548](https://togithub.com/google/go-github/issues/2548))
-   Add test case for JSON resource marshaling ([#&#8203;2549](https://togithub.com/google/go-github/issues/2549))
-   Add test cases for JSON resource marshaling ([#&#8203;2550](https://togithub.com/google/go-github/issues/2550))
-   Add test case for JSON resource marshaling ([#&#8203;2551](https://togithub.com/google/go-github/issues/2551))
-   Add test case for JSON resource marshaling ([#&#8203;2552](https://togithub.com/google/go-github/issues/2552))
-   Bump golangci/golangci-lint-action from 3.3.0 to 3.3.1 ([#&#8203;2564](https://togithub.com/google/go-github/issues/2564))

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

[Compare Source](https://togithub.com/google/go-github/compare/v47.1.0...v48.0.0)

This release contains the following breaking API changes:

-   Return proper responses for SCIM provisioned identities [#&#8203;2474](https://togithub.com/google/go-github/issues/2474)

and the following additional changes:

-   Bump github.com/google/go-github/v47 from 47.0.0 to 47.1.0 in /scrape [#&#8203;2473](https://togithub.com/google/go-github/issues/2473)
-   Bump codecov/codecov-action from 3.1.0 to 3.1.1 [#&#8203;2472](https://togithub.com/google/go-github/issues/2472)
-   Add SecretScanningPushProtection field to SecurityAndAnalysis struct [#&#8203;2476](https://togithub.com/google/go-github/issues/2476)
-   Bump styfle/cancel-workflow-action from 0.10.0 to 0.10.1 [#&#8203;2484](https://togithub.com/google/go-github/issues/2484)
-   Update ProtectionChanges to contain the remaining possible return values [#&#8203;2486](https://togithub.com/google/go-github/issues/2486)
-   Rename 'whitelist' to 'allowlist' in oauth class selectors [#&#8203;2488](https://togithub.com/google/go-github/issues/2488)
-   Add support for User SSH signing keys [#&#8203;2482](https://togithub.com/google/go-github/issues/2482)
-   Fix use GITHUB_OUTPUT from deprecated set-output [#&#8203;2492](https://togithub.com/google/go-github/issues/2492)
-   Add enterprise list runner applications download [#&#8203;2496](https://togithub.com/google/go-github/issues/2496)
-   Create custom role APIs [#&#8203;2494](https://togithub.com/google/go-github/issues/2494)
-   Bump styfle/cancel-workflow-action from 0.10.1 to 0.11.0 [#&#8203;2498](https://togithub.com/google/go-github/issues/2498)

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 8am on the first day of the month" (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://app.renovatebot.com/dashboard#github/lindell/multi-gitter).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC43NC4yIiwidXBkYXRlZEluVmVyIjoiMzQuNzQuMiJ9-->



Patch:
diff --git a/go.mod b/go.mod
index a67ab77..5ecda32 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-20220418082332-711d7d5e805f
 	github.com/go-git/go-git/v5 v5.4.2
-	github.com/google/go-github/v47 v47.1.0
+	github.com/google/go-github/v48 v48.2.0
 	github.com/mitchellh/mapstructure v1.5.0
 	github.com/pkg/errors v0.9.1
 	github.com/sirupsen/logrus v1.9.0
diff --git a/go.sum b/go.sum
index c131010..95b5c6d 100644
--- a/go.sum
+++ b/go.sum
@@ -138,8 +138,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/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-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=
diff --git a/internal/scm/github/github.go b/internal/scm/github/github.go
index 7ca9b1f..dad9dc5 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/v47/github"
+	"github.com/google/go-github/v48/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 5df8b02..cdbf7d8 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/v47/github"
+	"github.com/google/go-github/v48/github"
 
 	"github.com/lindell/multi-gitter/internal/scm"
 )
diff --git a/internal/scm/github/repository.go b/internal/scm/github/repository.go
index 1dad507..5f8662c 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/v47/github"
+	"github.com/google/go-github/v48/github"
 	"github.com/pkg/errors"
 )
 
diff --git a/internal/scm/github/retry.go b/internal/scm/github/retry.go
index a2fce67..2a49980 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/v47/github"
+	"github.com/google/go-github/v48/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 0ec366b..068f9cc 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/v47/github"
+	"github.com/google/go-github/v48/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 d578044..739da7c 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/v47/github"
+	"github.com/google/go-github/v48/github"
 	"github.com/pkg/errors"
 	"github.com/stretchr/testify/assert"
 )