Repository: reviewdog/reviewdog
Pull request #1346 (2022-12-20 11:51:48)

fix(deps): update module github.com/google/go-github/v39 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/v39](https://togithub.com/google/go-github) | require | major | `v39.2.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)

### [`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)

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

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

This minor release includes these changes:

-   Add Actor field to WorkflowRun ([#&#8203;2381](https://togithub.com/google/go-github/issues/2381))
-   Bump github.com/google/go-github/v45 from 45.0.0 to 45.1.0 in /scrape ([#&#8203;2382](https://togithub.com/google/go-github/issues/2382))
-   docs fix: correct a comment ([#&#8203;2383](https://togithub.com/google/go-github/issues/2383))
-   Add missing common event fields ([#&#8203;2384](https://togithub.com/google/go-github/issues/2384))
-   Add RoleName field to User struct ([#&#8203;2386](https://togithub.com/google/go-github/issues/2386))
-   Add support for repo setting use_squash_pr_title_as_default ([#&#8203;2390](https://togithub.com/google/go-github/issues/2390))
-   Add MembersCanForkPrivateRepositories field to Organization struct ([#&#8203;2389](https://togithub.com/google/go-github/issues/2389))

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

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

This minor release includes these changes:

-   Update scrape dependency to v45 ([#&#8203;2375](https://togithub.com/google/go-github/issues/2375))
-   Include RoleName field in Repository struct ([#&#8203;2379](https://togithub.com/google/go-github/issues/2379))

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

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

This release contains the following breaking API changes:

-   Support query parameter `visible_to_repository` in ListOrganizationRunnerGroups ([#&#8203;2329](https://togithub.com/google/go-github/issues/2329))

and the following additional changes:

-   Add missing Sender field in RepositoryVulnerabilityAlertEvent ([#&#8203;2365](https://togithub.com/google/go-github/issues/2365))
-   Add support to sync a fork branch with the upstream repository. ([#&#8203;2337](https://togithub.com/google/go-github/issues/2337))
-   Add fields to RateLimits struct ([#&#8203;2340](https://togithub.com/google/go-github/issues/2340))
-   Add ReRequestCheckRun ([#&#8203;2358](https://togithub.com/google/go-github/issues/2358))
-   Add 'repository_import' event ([#&#8203;2364](https://togithub.com/google/go-github/issues/2364))
-   Bump golangci/golangci-lint-action from 3.1.0 to 3.2.0 ([#&#8203;2366](https://togithub.com/google/go-github/issues/2366))
-   Bump github.com/google/go-github/v44 from 44.0.0 to 44.1.0 in /scrape ([#&#8203;2367](https://togithub.com/google/go-github/issues/2367))
-   update-urls: update sidebar child articles links ([#&#8203;2369](https://togithub.com/google/go-github/issues/2369))
-   fix: correct endpoints for custom roles ([#&#8203;2370](https://togithub.com/google/go-github/issues/2370))
-   Update URLs ([#&#8203;2373](https://togithub.com/google/go-github/issues/2373))

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

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

This minor release contains the following changes:

-   Update scrape dependency to v44 ([#&#8203;2352](https://togithub.com/google/go-github/issues/2352))
-   Add a "Webhooks" section to the README.md ([#&#8203;2353](https://togithub.com/google/go-github/issues/2353))
-   Add support for list Code Scan Alerts by Org ([#&#8203;2346](https://togithub.com/google/go-github/issues/2346))
-   Bump github.com/google/go-cmp from 0.5.7 to 0.5.8 in /update-urls ([#&#8203;2354](https://togithub.com/google/go-github/issues/2354))
-   Bump github.com/google/go-cmp from 0.5.7 to 0.5.8 ([#&#8203;2355](https://togithub.com/google/go-github/issues/2355))
-   Bump github.com/google/go-cmp from 0.5.7 to 0.5.8 in /scrape ([#&#8203;2356](https://togithub.com/google/go-github/issues/2356))
-   Add RerunFailedJobsByID and RerunJobByID ([#&#8203;2345](https://togithub.com/google/go-github/issues/2345))

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

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

This release contains the following breaking API changes:

-   Deprecate WebHookPayload [#&#8203;2032](https://togithub.com/google/go-github/issues/2032)

and the following additional changes:

-   Update scrape dependency to v43 [#&#8203;2308](https://togithub.com/google/go-github/issues/2308)
-   Add repo webhook redelivery method [#&#8203;2305](https://togithub.com/google/go-github/issues/2305)
-   Add security-advisory and code-scanning-alert event types [#&#8203;2311](https://togithub.com/google/go-github/issues/2311)
-   Bump actions/checkout from 2 to 3 [#&#8203;2314](https://togithub.com/google/go-github/issues/2314)
-   Move examples dir into its own Go module [#&#8203;2310](https://togithub.com/google/go-github/issues/2310)
-   Add AllowUpdateBranch to the Repository struct [#&#8203;2313](https://togithub.com/google/go-github/issues/2313)
-   Bump actions/cache from 2 to 3 [#&#8203;2316](https://togithub.com/google/go-github/issues/2316)
-   Add support for setting actions permissions on a repository [#&#8203;2315](https://togithub.com/google/go-github/issues/2315)
-   Remove code duplication [#&#8203;2321](https://togithub.com/google/go-github/issues/2321)
-   Improve stringify test coverage [#&#8203;2320](https://togithub.com/google/go-github/issues/2320)
-   Clean up method return consistency [#&#8203;2318](https://togithub.com/google/go-github/issues/2318)
-   Make auto-generated files read-only [#&#8203;2323](https://togithub.com/google/go-github/issues/2323)
-   Update workflow to use Go 1.18 and Go 1.17 [#&#8203;2322](https://togithub.com/google/go-github/issues/2322)
-   Add support for the pull request review thread event [#&#8203;2326](https://togithub.com/google/go-github/issues/2326)
-   Bump actions/setup-go from 2 to 3 [#&#8203;2332](https://togithub.com/google/go-github/issues/2332)
-   Bump codecov/codecov-action from 2.1.0 to 3 [#&#8203;2331](https://togithub.com/google/go-github/issues/2331)
-   Add create repository with an initial commit with empty README [#&#8203;2333](https://togithub.com/google/go-github/issues/2333)
-   Restrict permissions for GitHub actions [#&#8203;2334](https://togithub.com/google/go-github/issues/2334)
-   Add support to list custom roles for organizations [#&#8203;2336](https://togithub.com/google/go-github/issues/2336)
-   Bump codecov/codecov-action from 3.0.0 to 3.1.0 [#&#8203;2343](https://togithub.com/google/go-github/issues/2343)
-   example: update go modules for some examples [`bbfb105`](https://togithub.com/google/go-github/commit/bbfb105)
-   fix gofmt issue in newreposecretwithxcrypto [`97b5d95`](https://togithub.com/google/go-github/commit/97b5d95)
-   run golangci-lint on all modules [`c071ded`](https://togithub.com/google/go-github/commit/c071ded)

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

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

This release contains the following breaking API changes:

-   Add list options support for environments [#&#8203;2258](https://togithub.com/google/go-github/issues/2258)
-   GitHub Actions Billing returns total_paid_minutes_used as float64 [#&#8203;2284](https://togithub.com/google/go-github/issues/2284)
-   Fix RequireCodeOwnerReviews and RequiredApprovingReviewCount fields with omitempty [#&#8203;2289](https://togithub.com/google/go-github/issues/2289)

and the following additional changes:

-   Update scrape dependency to v42 [#&#8203;2254](https://togithub.com/google/go-github/issues/2254)
-   Add AllowForking to Repository struct [#&#8203;2256](https://togithub.com/google/go-github/issues/2256)
-   Bump github.com/bradleyfalzon/ghinstallation/v2 from 2.0.3 to 2.0.4 [#&#8203;2259](https://togithub.com/google/go-github/issues/2259)
-   Update docs for CreateWorkflowDispatchEventRequest.Ref [#&#8203;2263](https://togithub.com/google/go-github/issues/2263)
-   Add support for additional PagesUpdate parameters [#&#8203;2266](https://togithub.com/google/go-github/issues/2266)
-   Bump github.com/google/go-cmp from 0.5.6 to 0.5.7 [#&#8203;2269](https://togithub.com/google/go-github/issues/2269)
-   Bump github.com/google/go-cmp from 0.5.6 to 0.5.7 in /update-urls [#&#8203;2270](https://togithub.com/google/go-github/issues/2270)
-   Bump github.com/google/go-cmp from 0.5.6 to 0.5.7 in /scrape [#&#8203;2271](https://togithub.com/google/go-github/issues/2271)
-   ci: bump golangci-lint version [#&#8203;2272](https://togithub.com/google/go-github/issues/2272)
-   Add checks field to RequiredStatusChecks [#&#8203;2276](https://togithub.com/google/go-github/issues/2276)
-   Add Repo and Org fields to DeployKeyEvent [#&#8203;2280](https://togithub.com/google/go-github/issues/2280)
-   Add support for the secret scanning API [#&#8203;2281](https://togithub.com/google/go-github/issues/2281)
-   Add SecretScanningAlertEvent Webhook [#&#8203;2282](https://togithub.com/google/go-github/issues/2282)
-   Add GetWorkflowRunAttempt [#&#8203;2290](https://togithub.com/google/go-github/issues/2290)
-   Add APIMeta fields related to SSH keys [#&#8203;2293](https://togithub.com/google/go-github/issues/2293)
-   Don't update the ratelimits if we got a response from a cache [#&#8203;2273](https://togithub.com/google/go-github/issues/2273)
-   Revert "Remove graduated GitHub v3 API preview header" [#&#8203;2301](https://togithub.com/google/go-github/issues/2301)
-   Bump golangci/golangci-lint-action from 2.5.2 to 3.1.0 [#&#8203;2303](https://togithub.com/google/go-github/issues/2303)

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

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

This release contains the following breaking API changes:

-   ProjectOptions (public to private) & Project struct (org related fields) fixes  [#&#8203;2111](https://togithub.com/google/go-github/issues/2111)
-   Change type of HookDelivery.InstallationID to Int64. [#&#8203;2235](https://togithub.com/google/go-github/issues/2235)
-   Add pagination options to list all package versions [#&#8203;2250](https://togithub.com/google/go-github/issues/2250)

and the following additional changes:

-   Update scrape dependency to v41 [#&#8203;2212](https://togithub.com/google/go-github/issues/2212)
-   Adds test-cases for JSON resources marshaling [#&#8203;2176](https://togithub.com/google/go-github/issues/2176)
-   Add CodeScanningService.ListAnalysesForRepo and CodeScanningService.GetAnalysis [#&#8203;2210](https://togithub.com/google/go-github/issues/2210)
-   Handle protection status errors for unprotected branches [#&#8203;2092](https://togithub.com/google/go-github/issues/2092)
-   Update GitHub Pages API to add new response parameters [#&#8203;2109](https://togithub.com/google/go-github/issues/2109)
-   Add BranchProtectionRuleEvent Installation field [#&#8203;2216](https://togithub.com/google/go-github/issues/2216)
-   Fix since+page pagination bug [#&#8203;2218](https://togithub.com/google/go-github/issues/2218)
-   build: upgrade go directive in go.mod to 1.17 [#&#8203;2219](https://togithub.com/google/go-github/issues/2219)
-   fix references to webhook types [#&#8203;2224](https://togithub.com/google/go-github/issues/2224)
-   Update comment on ListPullRequestsWithCommit API [#&#8203;2228](https://togithub.com/google/go-github/issues/2228)
-   Fix secondary rate limits URL and improve related documentation [#&#8203;2229](https://togithub.com/google/go-github/issues/2229)
-   Add Changes field to RepositoryEvent [#&#8203;2233](https://togithub.com/google/go-github/issues/2233)
-   Add app hook deliveries API [#&#8203;2226](https://togithub.com/google/go-github/issues/2226)
-   Add support for External Groups [#&#8203;2217](https://togithub.com/google/go-github/issues/2217)
-   Add PreviousAttemptURL, RunAttempt, RunStartedAt field to WorkflowRun [#&#8203;2238](https://togithub.com/google/go-github/issues/2238)
-   Add new fields to WorkflowRun [#&#8203;2237](https://togithub.com/google/go-github/issues/2237)
-   Update .gitignore for ignoring goenv .go-version file [#&#8203;2242](https://togithub.com/google/go-github/issues/2242)
-   add team.html_url [#&#8203;2244](https://togithub.com/google/go-github/issues/2244)
-   Update ListCheckRunsOptions with new field AppID [#&#8203;2236](https://togithub.com/google/go-github/issues/2236)
-   adding examples for app auth [#&#8203;2240](https://togithub.com/google/go-github/issues/2240)
-   Support Discussions webhook event [#&#8203;2221](https://togithub.com/google/go-github/issues/2221)
-   Add DiscussionEvent webhook ([#&#8203;2221](https://togithub.com/google/go-github/issues/2221)) [#&#8203;2230](https://togithub.com/google/go-github/issues/2230)
-   Add support for Dependabot secrets [#&#8203;2248](https://togithub.com/google/go-github/issues/2248)

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

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

This release contains the following breaking API changes:

-   Change StorageBilling.EstimatedPaidStorageForMonth from int to float64 ([#&#8203;2205](https://togithub.com/google/go-github/issues/2205))

and the following additional changes:

-   Add support for creating reaction for a release ([#&#8203;2196](https://togithub.com/google/go-github/issues/2196))
-   Parse Before/After Links into Response ([#&#8203;2154](https://togithub.com/google/go-github/issues/2154))
-   Add missing attribute job_runs in WorkflowRunBill ([#&#8203;2206](https://togithub.com/google/go-github/issues/2206))
-   Add function to delete a workflow run by ID ([#&#8203;2207](https://togithub.com/google/go-github/issues/2207))
-   Handle 'since' in addition to 'page' for pagination response ([#&#8203;2135](https://togithub.com/google/go-github/issues/2135))
-   Add active committers API implementation ([#&#8203;2208](https://togithub.com/google/go-github/issues/2208))

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

[Compare Source](https://togithub.com/google/go-github/compare/v39.2.0...v40.0.0)

This release contains the following breaking API changes:

-   runnerID and runnerGroupID are int64, not string ([#&#8203;2127](https://togithub.com/google/go-github/issues/2127))

and the following additional changes:

-   Bump github.com/google/go-github/v39 from 39.1.0 to 39.2.0 in /scrape ([#&#8203;2126](https://togithub.com/google/go-github/issues/2126))
-   Audit log query options set should contain url tag ([#&#8203;2128](https://togithub.com/google/go-github/issues/2128))
-   Fix user packages api path ([#&#8203;2129](https://togithub.com/google/go-github/issues/2129))
-   Add runner info to workflow job object ([#&#8203;2131](https://togithub.com/google/go-github/issues/2131))
-   Support GitHub Advanced Security repository settings ([#&#8203;2133](https://togithub.com/google/go-github/issues/2133))
-   Fix API links in actions_artifacts.go ([#&#8203;2141](https://togithub.com/google/go-github/issues/2141))
-   Bump github.com/PuerkitoBio/goquery from 1.7.1 to 1.8.0 in /scrape ([#&#8203;2193](https://togithub.com/google/go-github/issues/2193))
-   Add new RemoveMilestone method on IssuesService ([#&#8203;2195](https://togithub.com/google/go-github/issues/2195))
-   Add RenameBranch support ([#&#8203;2119](https://togithub.com/google/go-github/issues/2119))
-   Add missing fields to Timeline ([#&#8203;2197](https://togithub.com/google/go-github/issues/2197))
-   Add method to upload Code Scanning Sarif Analysis results to GitHub ([#&#8203;2165](https://togithub.com/google/go-github/issues/2165))

plus several test- or documentation-only changes.

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined), 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/reviewdog/reviewdog).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC42Ni4wIiwidXBkYXRlZEluVmVyIjoiMzQuNzIuMyJ9-->



Patch:
diff --git a/cmd/reviewdog/main.go b/cmd/reviewdog/main.go
index abf485ac..517ac5fe 100644
--- a/cmd/reviewdog/main.go
+++ b/cmd/reviewdog/main.go
@@ -19,7 +19,7 @@ import (
 	"golang.org/x/build/gerrit"
 	"golang.org/x/oauth2"
 
-	"github.com/google/go-github/v39/github"
+	"github.com/google/go-github/v48/github"
 	"github.com/mattn/go-shellwords"
 	"github.com/reviewdog/errorformat/fmts"
 	"github.com/xanzy/go-gitlab"
diff --git a/doghouse/appengine/github.go b/doghouse/appengine/github.go
index 1f0af30d..ab5e8cc3 100644
--- a/doghouse/appengine/github.go
+++ b/doghouse/appengine/github.go
@@ -12,7 +12,7 @@ import (
 	"net/url"
 	"strings"
 
-	"github.com/google/go-github/v39/github"
+	"github.com/google/go-github/v48/github"
 	"github.com/justinas/nosurf"
 	"github.com/vvakame/sdlog/aelog"
 	"golang.org/x/oauth2"
diff --git a/doghouse/appengine/github_webhook.go b/doghouse/appengine/github_webhook.go
index 02b42b6b..a691d0a4 100644
--- a/doghouse/appengine/github_webhook.go
+++ b/doghouse/appengine/github_webhook.go
@@ -6,7 +6,7 @@ import (
 	"fmt"
 	"net/http"
 
-	"github.com/google/go-github/v39/github"
+	"github.com/google/go-github/v48/github"
 
 	"github.com/reviewdog/reviewdog/doghouse/server/storage"
 )
diff --git a/doghouse/client/github_client.go b/doghouse/client/github_client.go
index 597ec629..848d0b9d 100644
--- a/doghouse/client/github_client.go
+++ b/doghouse/client/github_client.go
@@ -3,7 +3,7 @@ package client
 import (
 	"context"
 
-	"github.com/google/go-github/v39/github"
+	"github.com/google/go-github/v48/github"
 
 	"github.com/reviewdog/reviewdog/doghouse"
 	"github.com/reviewdog/reviewdog/doghouse/server"
diff --git a/doghouse/server/doghouse.go b/doghouse/server/doghouse.go
index aa43a20f..b0fb8b2b 100644
--- a/doghouse/server/doghouse.go
+++ b/doghouse/server/doghouse.go
@@ -8,7 +8,7 @@ import (
 	"strings"
 	"time"
 
-	"github.com/google/go-github/v39/github"
+	"github.com/google/go-github/v48/github"
 
 	"github.com/reviewdog/reviewdog/diff"
 	"github.com/reviewdog/reviewdog/doghouse"
@@ -20,9 +20,10 @@ import (
 // GitHub check runs API cannot handle too large requests.
 // Set max number of filtered findings to be shown in check-run summary.
 // ERROR:
-//  https://api.github.com/repos/easymotion/vim-easymotion/check-runs: 422
-//  Invalid request.
-//  Only 65535 characters are allowed; 250684 were supplied. []
+//
+//	https://api.github.com/repos/easymotion/vim-easymotion/check-runs: 422
+//	Invalid request.
+//	Only 65535 characters are allowed; 250684 were supplied. []
 const maxAllowedSize = 65535
 
 // > The Checks API limits the number of annotations to a maximum of 50 per API
diff --git a/doghouse/server/github.go b/doghouse/server/github.go
index 30853bd1..4815f8a8 100644
--- a/doghouse/server/github.go
+++ b/doghouse/server/github.go
@@ -6,7 +6,7 @@ import (
 	"net/http"
 
 	"github.com/bradleyfalzon/ghinstallation/v2"
-	"github.com/google/go-github/v39/github"
+	"github.com/google/go-github/v48/github"
 )
 
 type NewGitHubClientOption struct {
diff --git a/doghouse/server/github_checker.go b/doghouse/server/github_checker.go
index ccc915e0..260299fa 100644
--- a/doghouse/server/github_checker.go
+++ b/doghouse/server/github_checker.go
@@ -5,7 +5,7 @@ import (
 	"io"
 	"time"
 
-	"github.com/google/go-github/v39/github"
+	"github.com/google/go-github/v48/github"
 	"github.com/vvakame/sdlog/aelog"
 )
 
diff --git a/go.mod b/go.mod
index a989f16b..98e9e147 100644
--- a/go.mod
+++ b/go.mod
@@ -4,6 +4,7 @@ go 1.19
 
 require (
 	cloud.google.com/go v0.105.0 // indirect
+	cloud.google.com/go/compute/metadata v0.2.3
 	cloud.google.com/go/datastore v1.10.0
 	cloud.google.com/go/monitoring v1.8.0 // indirect
 	cloud.google.com/go/trace v1.4.0 // indirect
@@ -11,7 +12,7 @@ require (
 	github.com/bradleyfalzon/ghinstallation/v2 v2.1.0
 	github.com/golang/protobuf v1.5.2
 	github.com/google/go-cmp v0.5.9
-	github.com/google/go-github/v39 v39.2.0
+	github.com/google/go-github/v48 v48.2.0
 	github.com/haya14busa/go-actions-toolkit v0.0.0-20200105081403-ca0307860f01
 	github.com/haya14busa/secretbox v0.0.0-20180525171038-07c7ecf409f5
 	github.com/justinas/nosurf v1.1.1
@@ -32,8 +33,6 @@ require (
 	gopkg.in/yaml.v2 v2.4.0
 )
 
-require cloud.google.com/go/compute/metadata v0.2.3
-
 require (
 	cloud.google.com/go/compute v1.14.0 // indirect
 	github.com/aws/aws-sdk-go v1.43.31 // indirect
diff --git a/go.sum b/go.sum
index a50ef79c..701a9327 100644
--- a/go.sum
+++ b/go.sum
@@ -149,10 +149,10 @@ github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/
 github.com/google/go-cmp v0.5.8/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
 github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38=
 github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
-github.com/google/go-github/v39 v39.2.0 h1:rNNM311XtPOz5rDdsJXAp2o8F67X9FnROXTvto3aSnQ=
-github.com/google/go-github/v39 v39.2.0/go.mod h1:C1s8C5aCC9L+JXIYpJM5GYytdX52vC1bLvHEF1IhBrE=
 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.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/scripts/trigger-depup/go.mod b/scripts/trigger-depup/go.mod
index 038b737a..2d3fa2d9 100644
--- a/scripts/trigger-depup/go.mod
+++ b/scripts/trigger-depup/go.mod
@@ -3,7 +3,7 @@ module github.com/reviewdog/reviewdog/scripts/trigger-depup
 go 1.19
 
 require (
-	github.com/google/go-github/v39 v39.2.0
+	github.com/google/go-github/v48 v48.2.0
 	golang.org/x/oauth2 v0.3.0
 )
 
diff --git a/scripts/trigger-depup/go.sum b/scripts/trigger-depup/go.sum
index b1f7e3bf..705697be 100644
--- a/scripts/trigger-depup/go.sum
+++ b/scripts/trigger-depup/go.sum
@@ -1,33 +1,25 @@
 github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
-github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
 github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk=
 github.com/golang/protobuf v1.5.2 h1:ROPKBNFfQgOUMifHyP+KYbvpjbdoFNs+aK7DXlji0Tw=
 github.com/golang/protobuf v1.5.2/go.mod h1:XVQd3VNwM+JqD3oG2Ue2ip4fOMUkwXdXDdiuN0vRsmY=
 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.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
-github.com/google/go-cmp v0.5.8 h1:e6P7q2lk1O+qJJb4BtCQXlK8vWEO8V1ZeuEdJNOqZyg=
-github.com/google/go-github/v39 v39.2.0 h1:rNNM311XtPOz5rDdsJXAp2o8F67X9FnROXTvto3aSnQ=
-github.com/google/go-github/v39 v39.2.0/go.mod h1:C1s8C5aCC9L+JXIYpJM5GYytdX52vC1bLvHEF1IhBrE=
+github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38=
+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=
 golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
 golang.org/x/crypto v0.0.0-20210817164053-32db794688a5 h1:HWj/xjIHfjYU5nVXpTM0s39J9CbLn7Cc5a7IC5rwsMQ=
 golang.org/x/crypto v0.0.0-20210817164053-32db794688a5/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
 golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks=
-golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
 golang.org/x/net v0.3.0 h1:VWL6FNY2bEEmsGVKabSlHu5Irp34xmMRoqb/9lF9lxk=
 golang.org/x/net v0.3.0/go.mod h1:MBQ8lrhLObU/6UmLb4fmbmk5OcyYmqtbGd/9yIeKjEE=
-golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
 golang.org/x/oauth2 v0.3.0 h1:6l90koy8/LaBLmLu8jpHeHexzMwEita0zFfYlggy2F8=
 golang.org/x/oauth2 v0.3.0/go.mod h1:rQrIauxkUhJ6CuwEXwymO2/eh4xz2ZWF1nBkcxS+tGk=
 golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
-golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
-golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
 golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
 golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk=
-golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
 golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
 golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
 google.golang.org/appengine v1.6.7 h1:FZR1q0exgwxzPzp/aF+VccGrSfxfPpkBqjIIEq3ru6c=
diff --git a/scripts/trigger-depup/main.go b/scripts/trigger-depup/main.go
index b047392d..e2792ee5 100644
--- a/scripts/trigger-depup/main.go
+++ b/scripts/trigger-depup/main.go
@@ -10,7 +10,7 @@ import (
 	"os"
 	"strings"
 
-	"github.com/google/go-github/v39/github"
+	"github.com/google/go-github/v48/github"
 	"golang.org/x/oauth2"
 )
 
diff --git a/service/github/github.go b/service/github/github.go
index 6024e68e..392c4a35 100644
--- a/service/github/github.go
+++ b/service/github/github.go
@@ -8,7 +8,7 @@ import (
 	"strings"
 	"sync"
 
-	"github.com/google/go-github/v39/github"
+	"github.com/google/go-github/v48/github"
 
 	"github.com/reviewdog/reviewdog"
 	"github.com/reviewdog/reviewdog/cienv"
@@ -31,6 +31,7 @@ const (
 // PullRequest is a comment and diff service for GitHub PullRequest.
 //
 // API:
+//
 //	https://developer.github.com/v3/pulls/comments/#create-a-comment
 //	POST /repos/:owner/:repo/pulls/:number/comments
 type PullRequest struct {


Test patch:
diff --git a/doghouse/server/doghouse_test.go b/doghouse/server/doghouse_test.go
index 859670ef..936d2404 100644
--- a/doghouse/server/doghouse_test.go
+++ b/doghouse/server/doghouse_test.go
@@ -8,7 +8,7 @@ import (
 	"testing"
 
 	"github.com/google/go-cmp/cmp"
-	"github.com/google/go-github/v39/github"
+	"github.com/google/go-github/v48/github"
 
 	"github.com/reviewdog/reviewdog/doghouse"
 	"github.com/reviewdog/reviewdog/filter"
diff --git a/service/github/github_test.go b/service/github/github_test.go
index a2c2757b..4139e508 100644
--- a/service/github/github_test.go
+++ b/service/github/github_test.go
@@ -10,7 +10,7 @@ import (
 	"strings"
 	"testing"
 
-	"github.com/google/go-github/v39/github"
+	"github.com/google/go-github/v48/github"
 	"github.com/kylelemons/godebug/pretty"
 	"golang.org/x/oauth2"