Skip to content

Commit 0a2c74a

Browse files
authored
fix(deps): Update module github.com/google/go-github/v45 to v48 (#5243)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [github.com/google/go-github/v45](https://togithub.com/google/go-github) | require | major | `v45.2.0` -> `v48.1.0` | --- ### Release Notes <details> <summary>google/go-github</summary> ### [`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) ### [`v47.1.0`](https://togithub.com/google/go-github/releases/tag/v47.1.0) [Compare Source](https://togithub.com/google/go-github/compare/v47.0.0...v47.1.0) This minor release includes these changes: - Update scrape dependency to v47 ([#&#8203;2442](https://togithub.com/google/go-github/issues/2442)) - Additional options name, default_branch_only for create a fork ([#&#8203;2448](https://togithub.com/google/go-github/issues/2448)) - List Secret Scan Alerts with index-based pagination ([#&#8203;2446](https://togithub.com/google/go-github/issues/2446)) - Add alphanumeric param to AutolinkOptions ([#&#8203;2450](https://togithub.com/google/go-github/issues/2450)) - Remove GenerateReleaseNotes from RepositoriesService.EditRelease ([#&#8203;2445](https://togithub.com/google/go-github/issues/2445)) - Add org permissions to InstallationPermissions ([#&#8203;2452](https://togithub.com/google/go-github/issues/2452)) - Escape special characters in ref name for update ref ([#&#8203;2454](https://togithub.com/google/go-github/issues/2454)) - Bump github.com/google/go-cmp from 0.5.8 to 0.5.9 ([#&#8203;2457](https://togithub.com/google/go-github/issues/2457)) - Bump github.com/google/go-cmp from 0.5.8 to 0.5.9 in /scrape ([#&#8203;2458](https://togithub.com/google/go-github/issues/2458)) - Bump github.com/google/go-cmp from 0.5.8 to 0.5.9 in /update-urls ([#&#8203;2459](https://togithub.com/google/go-github/issues/2459)) - Fix unhandled error in actions_artifacts.go ([#&#8203;2460](https://togithub.com/google/go-github/issues/2460)) - Add explicit error return ([#&#8203;2469](https://togithub.com/google/go-github/issues/2469)) - Add org struct fields ([#&#8203;2471](https://togithub.com/google/go-github/issues/2471)) - Always send 'checks' field when creating branch protection ([#&#8203;2468](https://togithub.com/google/go-github/issues/2468)) ### [`v47.0.0`](https://togithub.com/google/go-github/releases/tag/v47.0.0) [Compare Source](https://togithub.com/google/go-github/compare/v46.0.0...v47.0.0) This release contains the following breaking API changes: - Add ListOptions for listing user migrations [#&#8203;2417](https://togithub.com/google/go-github/issues/2417) and the following additional changes: - Update scrape dependency to v46 [#&#8203;2438](https://togithub.com/google/go-github/issues/2438) - Fix go.mod for example [#&#8203;2439](https://togithub.com/google/go-github/issues/2439) - Add hooks support for WebSub (formerly PubSubHubbub) protocol [#&#8203;2397](https://togithub.com/google/go-github/issues/2397) - Add parameters to configure merge commit messages to repo [#&#8203;2440](https://togithub.com/google/go-github/issues/2440) ### [`v46.0.0`](https://togithub.com/google/go-github/releases/tag/v46.0.0) [Compare Source](https://togithub.com/google/go-github/compare/v45.2.0...v46.0.0) This release contains the following breaking API changes: - Support PagesSource as struct for update pages API [#&#8203;2407](https://togithub.com/google/go-github/issues/2407) - Change DependabotSecretsSelectedRepoIDs to \[]string [#&#8203;2401](https://togithub.com/google/go-github/issues/2401) and the following additional changes: - Add state_reason to IssuesService.Edit [#&#8203;2395](https://togithub.com/google/go-github/issues/2395) - Bump github.com/google/go-github/v45 from 45.1.0 to 45.2.0 in /scrape [#&#8203;2399](https://togithub.com/google/go-github/issues/2399) - Bump styfle/cancel-workflow-action from 0.9.1 to 0.10.0 [#&#8203;2398](https://togithub.com/google/go-github/issues/2398) - Add RunAttempt field to AuditEntry [#&#8203;2411](https://togithub.com/google/go-github/issues/2411) - feat: add GetCodeownersErrors to RepositoriesService ([#&#8203;2405](https://togithub.com/google/go-github/issues/2405)) [#&#8203;2408](https://togithub.com/google/go-github/issues/2408) - Remove omitempty from Content field of RepositoryContentFileOptions [#&#8203;2430](https://togithub.com/google/go-github/issues/2430) - Unable to create empty file [#&#8203;2427](https://togithub.com/google/go-github/issues/2427) - Add BypassPullRequestAllowances field [#&#8203;2432](https://togithub.com/google/go-github/issues/2432) - Add 'pending_deployments' endpoint support ([#&#8203;2421](https://togithub.com/google/go-github/issues/2421)) [#&#8203;2422](https://togithub.com/google/go-github/issues/2422) - Add LFS control [#&#8203;2429](https://togithub.com/google/go-github/issues/2429) - Add tag protection [#&#8203;2424](https://togithub.com/google/go-github/issues/2424) - Add TextMatch custom header to other search type custom headers [#&#8203;2388](https://togithub.com/google/go-github/issues/2388) - Add support for parsing code_scanning_alerts in webhooks [#&#8203;2392](https://togithub.com/google/go-github/issues/2392) - Include the version of go-github in User-Agent headers sent to the GitHub API [#&#8203;2403](https://togithub.com/google/go-github/issues/2403) - chore: Update README with additional auth use case [#&#8203;2434](https://togithub.com/google/go-github/issues/2434) - feature: adding api and web to meta api endpoint. [#&#8203;2435](https://togithub.com/google/go-github/issues/2435) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 3am 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 [Renovate Bot](https://togithub.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC40Mi4wIiwidXBkYXRlZEluVmVyIjoiMzQuNDIuMCJ9-->
1 parent 2498d05 commit 0a2c74a

44 files changed

Lines changed: 129 additions & 39 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

plugins/source/github/client/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66

77
"github.com/cloudquery/plugin-sdk/schema"
88
"github.com/cloudquery/plugin-sdk/specs"
9-
"github.com/google/go-github/v45/github"
9+
"github.com/google/go-github/v48/github"
1010
"github.com/rs/zerolog"
1111
"golang.org/x/oauth2"
1212
)

plugins/source/github/client/mocks/mock_billing.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

plugins/source/github/client/mocks/mock_issues.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

plugins/source/github/client/mocks/mock_orgs.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

plugins/source/github/client/mocks/mock_repositories.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

plugins/source/github/client/mocks/mock_teams.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

plugins/source/github/client/services.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package client
33
import (
44
"context"
55

6-
"github.com/google/go-github/v45/github"
6+
"github.com/google/go-github/v48/github"
77
)
88

99
type GithubServices struct {

plugins/source/github/codegen/recipies/base.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414

1515
"github.com/cloudquery/plugin-sdk/codegen"
1616
"github.com/cloudquery/plugin-sdk/schema"
17-
"github.com/google/go-github/v45/github"
17+
"github.com/google/go-github/v48/github"
1818
"github.com/iancoleman/strcase"
1919
)
2020

plugins/source/github/codegen/recipies/billing.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package recipies
22

33
import (
4-
"github.com/google/go-github/v45/github"
4+
"github.com/google/go-github/v48/github"
55
)
66

77
func Billing() []*Resource {

plugins/source/github/codegen/recipies/external.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package recipies
22

33
import (
4-
"github.com/google/go-github/v45/github"
4+
"github.com/google/go-github/v48/github"
55
)
66

77
func External() []*Resource {

0 commit comments

Comments
 (0)