Skip to content

Commit

Permalink
fix(deps): Update module github.com/google/go-github/v45 to v48 (#5243)
Browse files Browse the repository at this point in the history
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-->
  • Loading branch information
cq-bot committed Dec 1, 2022
1 parent 2498d05 commit 0a2c74a
Show file tree
Hide file tree
Showing 44 changed files with 129 additions and 39 deletions.
2 changes: 1 addition & 1 deletion plugins/source/github/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (

"github.com/cloudquery/plugin-sdk/schema"
"github.com/cloudquery/plugin-sdk/specs"
"github.com/google/go-github/v45/github"
"github.com/google/go-github/v48/github"
"github.com/rs/zerolog"
"golang.org/x/oauth2"
)
Expand Down
2 changes: 1 addition & 1 deletion plugins/source/github/client/mocks/mock_billing.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion plugins/source/github/client/mocks/mock_issues.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion plugins/source/github/client/mocks/mock_orgs.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion plugins/source/github/client/mocks/mock_repositories.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion plugins/source/github/client/mocks/mock_teams.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion plugins/source/github/client/services.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package client
import (
"context"

"github.com/google/go-github/v45/github"
"github.com/google/go-github/v48/github"
)

type GithubServices struct {
Expand Down
2 changes: 1 addition & 1 deletion plugins/source/github/codegen/recipies/base.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (

"github.com/cloudquery/plugin-sdk/codegen"
"github.com/cloudquery/plugin-sdk/schema"
"github.com/google/go-github/v45/github"
"github.com/google/go-github/v48/github"
"github.com/iancoleman/strcase"
)

Expand Down
2 changes: 1 addition & 1 deletion plugins/source/github/codegen/recipies/billing.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package recipies

import (
"github.com/google/go-github/v45/github"
"github.com/google/go-github/v48/github"
)

func Billing() []*Resource {
Expand Down
2 changes: 1 addition & 1 deletion plugins/source/github/codegen/recipies/external.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package recipies

import (
"github.com/google/go-github/v45/github"
"github.com/google/go-github/v48/github"
)

func External() []*Resource {
Expand Down
2 changes: 1 addition & 1 deletion plugins/source/github/codegen/recipies/hooks.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package recipies
import (
"github.com/cloudquery/plugin-sdk/codegen"
"github.com/cloudquery/plugin-sdk/schema"
"github.com/google/go-github/v45/github"
"github.com/google/go-github/v48/github"
)

func Hooks() []*Resource {
Expand Down
2 changes: 1 addition & 1 deletion plugins/source/github/codegen/recipies/installations.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package recipies

import (
"github.com/google/go-github/v45/github"
"github.com/google/go-github/v48/github"
)

func Installations() []*Resource {
Expand Down
2 changes: 1 addition & 1 deletion plugins/source/github/codegen/recipies/issues.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package recipies

import (
"github.com/google/go-github/v45/github"
"github.com/google/go-github/v48/github"
)

func Issues() []*Resource {
Expand Down
2 changes: 1 addition & 1 deletion plugins/source/github/codegen/recipies/organizations.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package recipies
import (
"github.com/cloudquery/plugin-sdk/codegen"
"github.com/cloudquery/plugin-sdk/schema"
"github.com/google/go-github/v45/github"
"github.com/google/go-github/v48/github"
)

func Organizations() []*Resource {
Expand Down
2 changes: 1 addition & 1 deletion plugins/source/github/codegen/recipies/repositories.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package recipies

import (
"github.com/google/go-github/v45/github"
"github.com/google/go-github/v48/github"
)

func Repositories() []*Resource {
Expand Down
2 changes: 1 addition & 1 deletion plugins/source/github/codegen/recipies/teams.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package recipies
import (
"github.com/cloudquery/plugin-sdk/codegen"
"github.com/cloudquery/plugin-sdk/schema"
"github.com/google/go-github/v45/github"
"github.com/google/go-github/v48/github"
)

func Teams() []*Resource {
Expand Down
7 changes: 7 additions & 0 deletions plugins/source/github/docs/tables/github_organizations.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,13 @@ The following tables depend on github_organizations:
|members_can_create_pages|Bool|
|members_can_create_public_pages|Bool|
|members_can_create_private_pages|Bool|
|web_commit_signoff_required|Bool|
|advanced_security_enabled_for_new_repositories|Bool|
|dependabot_alerts_enabled_for_new_repositories|Bool|
|dependabot_security_updates_enabled_for_new_repositories|Bool|
|dependency_graph_enabled_for_new_repositories|Bool|
|secret_scanning_enabled_for_new_repositories|Bool|
|secret_scanning_push_protection_enabled_for_new_repositories|Bool|
|url|String|
|events_url|String|
|hooks_url|String|
Expand Down
4 changes: 4 additions & 0 deletions plugins/source/github/docs/tables/github_repositories.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,10 @@ The composite primary key for this table is (**org**, **id**).
|allow_forking|Bool|
|delete_branch_on_merge|Bool|
|use_squash_pr_title_as_default|Bool|
|squash_merge_commit_title|String|
|squash_merge_commit_message|String|
|merge_commit_title|String|
|merge_commit_message|String|
|topics|StringArray|
|archived|Bool|
|disabled|Bool|
Expand Down
4 changes: 4 additions & 0 deletions plugins/source/github/docs/tables/github_team_repositories.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@ This table depends on [github_teams](github_teams.md).
|allow_forking|Bool|
|delete_branch_on_merge|Bool|
|use_squash_pr_title_as_default|Bool|
|squash_merge_commit_title|String|
|squash_merge_commit_message|String|
|merge_commit_title|String|
|merge_commit_message|String|
|topics|StringArray|
|archived|Bool|
|disabled|Bool|
Expand Down
2 changes: 1 addition & 1 deletion plugins/source/github/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.19
require (
github.com/cloudquery/plugin-sdk v1.10.0
github.com/golang/mock v1.6.0
github.com/google/go-github/v45 v45.2.0
github.com/google/go-github/v48 v48.1.0
github.com/iancoleman/strcase v0.2.0
github.com/rs/zerolog v1.28.0
github.com/thoas/go-funk v0.9.3-0.20221027085339-5573bc209e28
Expand Down
4 changes: 2 additions & 2 deletions plugins/source/github/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ github.com/google/go-cmp v0.5.1/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/
github.com/google/go-cmp v0.5.2/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/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/v48 v48.1.0 h1:nqPqq+0oRY2AMR/SRskGrrP4nnewPB7e/m2+kbT/UvM=
github.com/google/go-github/v48 v48.1.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=
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/cloudquery/cloudquery/plugins/source/github/client/mocks"
"github.com/cloudquery/plugin-sdk/faker"
"github.com/golang/mock/gomock"
"github.com/google/go-github/v45/github"
"github.com/google/go-github/v48/github"
)

func buildAction(t *testing.T, ctrl *gomock.Controller) client.GithubServices {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/cloudquery/cloudquery/plugins/source/github/client/mocks"
"github.com/cloudquery/plugin-sdk/faker"
"github.com/golang/mock/gomock"
"github.com/google/go-github/v45/github"
"github.com/google/go-github/v48/github"
)

func buildPackage(t *testing.T, ctrl *gomock.Controller) client.GithubServices {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/cloudquery/cloudquery/plugins/source/github/client/mocks"
"github.com/cloudquery/plugin-sdk/faker"
"github.com/golang/mock/gomock"
"github.com/google/go-github/v45/github"
"github.com/google/go-github/v48/github"
)

func buildStorage(t *testing.T, ctrl *gomock.Controller) client.GithubServices {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"github.com/cloudquery/cloudquery/plugins/source/github/client"
"github.com/cloudquery/plugin-sdk/schema"
"github.com/google/go-github/v45/github"
"github.com/google/go-github/v48/github"
)

func fetchGroups(ctx context.Context, meta schema.ClientMeta, _ *schema.Resource, res chan<- interface{}) error {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/cloudquery/cloudquery/plugins/source/github/client/mocks"
"github.com/cloudquery/plugin-sdk/faker"
"github.com/golang/mock/gomock"
"github.com/google/go-github/v45/github"
"github.com/google/go-github/v48/github"
)

func buildExternalGroups(t *testing.T, ctrl *gomock.Controller) client.GithubServices {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"github.com/cloudquery/cloudquery/plugins/source/github/client"
"github.com/cloudquery/plugin-sdk/schema"
"github.com/google/go-github/v45/github"
"github.com/google/go-github/v48/github"
)

func fetchDeliveries(ctx context.Context, meta schema.ClientMeta, parent *schema.Resource, res chan<- interface{}) error {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"github.com/cloudquery/cloudquery/plugins/source/github/client"
"github.com/cloudquery/plugin-sdk/schema"
"github.com/google/go-github/v45/github"
"github.com/google/go-github/v48/github"
)

func fetchHooks(ctx context.Context, meta schema.ClientMeta, _ *schema.Resource, res chan<- interface{}) error {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/cloudquery/cloudquery/plugins/source/github/client/mocks"
"github.com/cloudquery/plugin-sdk/faker"
"github.com/golang/mock/gomock"
"github.com/google/go-github/v45/github"
"github.com/google/go-github/v48/github"
)

func buildHooks(t *testing.T, ctrl *gomock.Controller) client.GithubServices {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"github.com/cloudquery/cloudquery/plugins/source/github/client"
"github.com/cloudquery/plugin-sdk/schema"
"github.com/google/go-github/v45/github"
"github.com/google/go-github/v48/github"
)

func fetchInstallations(ctx context.Context, meta schema.ClientMeta, _ *schema.Resource, res chan<- interface{}) error {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/cloudquery/cloudquery/plugins/source/github/client/mocks"
"github.com/cloudquery/plugin-sdk/faker"
"github.com/golang/mock/gomock"
"github.com/google/go-github/v45/github"
"github.com/google/go-github/v48/github"
)

func buildInstallations(t *testing.T, ctrl *gomock.Controller) client.GithubServices {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/cloudquery/cloudquery/plugins/source/github/client/mocks"
"github.com/cloudquery/plugin-sdk/faker"
"github.com/golang/mock/gomock"
"github.com/google/go-github/v45/github"
"github.com/google/go-github/v48/github"
)

func buildIssues(t *testing.T, ctrl *gomock.Controller) client.GithubServices {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"github.com/cloudquery/cloudquery/plugins/source/github/client"
"github.com/cloudquery/plugin-sdk/schema"
"github.com/google/go-github/v45/github"
"github.com/google/go-github/v48/github"
)

func fetchIssues(ctx context.Context, meta schema.ClientMeta, _ *schema.Resource, res chan<- interface{}) error {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"github.com/cloudquery/cloudquery/plugins/source/github/client"
"github.com/cloudquery/plugin-sdk/schema"
"github.com/google/go-github/v45/github"
"github.com/google/go-github/v48/github"
)

func fetchMembers(ctx context.Context, meta schema.ClientMeta, _ *schema.Resource, res chan<- interface{}) error {
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"github.com/cloudquery/cloudquery/plugins/source/github/client/mocks"
"github.com/cloudquery/plugin-sdk/faker"
"github.com/golang/mock/gomock"
"github.com/google/go-github/v45/github"
"github.com/google/go-github/v48/github"
)

func buildOrganizations(t *testing.T, ctrl *gomock.Controller) client.GithubServices {
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0a2c74a

Please sign in to comment.