google/go-github
### [`v50.0.0`](https://togithub.com/google/go-github/releases/tag/v50.0.0)
[Compare Source](https://togithub.com/google/go-github/compare/v49.1.0...v50.0.0)
This release contains the following breaking API changes:
- Change total_minutes_used and included_minutes from int to float64 ([#2643](https://togithub.com/google/go-github/issues/2643))
- Change all fields from time.Time to github.Timestamp ([#2646](https://togithub.com/google/go-github/issues/2646))
and the following additional changes:
- Add new DeploymentBranchPolicies endpoints ([#2621](https://togithub.com/google/go-github/issues/2621))
- Bump github.com/google/go-github/v49 from 49.0.0 to 49.1.0 in /scrape ([#2627](https://togithub.com/google/go-github/issues/2627))
- Add RequireLastPushApproval field to UpdateBranchProtection ([#2629](https://togithub.com/google/go-github/issues/2629))
- Add workflow_name to WorkflowJob struct ([#2630](https://togithub.com/google/go-github/issues/2630))
- Support users and teams in branch protection access restrictions ([#2561](https://togithub.com/google/go-github/issues/2561))
- Add httpcache code example to README.md ([#2632](https://togithub.com/google/go-github/issues/2632))
- Bump golangci/golangci-lint-action from 3.3.1 to 3.4.0 ([#2638](https://togithub.com/google/go-github/issues/2638))
- Add NewTokenClient ([#2637](https://togithub.com/google/go-github/issues/2637))
- Add method to update codescanning alert ([#2639](https://togithub.com/google/go-github/issues/2639))
- Add JSON tag for ErrorResponse ([#2641](https://togithub.com/google/go-github/issues/2641))
- Use NewTokenClient in tests and examples ([#2644](https://togithub.com/google/go-github/issues/2644))
### [`v49.1.0`](https://togithub.com/google/go-github/releases/tag/v49.1.0)
[Compare Source](https://togithub.com/google/go-github/compare/v49.0.0...v49.1.0)
This minor release contains the following changes:
- Update scrape dependency to v49 ([#2617](https://togithub.com/google/go-github/issues/2617))
- Add support for GitHub Actions cache API ([#2604](https://togithub.com/google/go-github/issues/2604))
- Support OIDC subject claim customization templates for actions ([#2615](https://togithub.com/google/go-github/issues/2615))
- Omit OpenID Connect customization template claims when none are set ([#2620](https://togithub.com/google/go-github/issues/2620))
- Update minor version to v49.1.0 ([#2623](https://togithub.com/google/go-github/issues/2623))
### [`v49.0.0`](https://togithub.com/google/go-github/releases/tag/v49.0.0)
[Compare Source](https://togithub.com/google/go-github/compare/v48.2.0...v49.0.0)
This release contains the following breaking API changes:
- Fix JSON protection unmarshal error ([#2606](https://togithub.com/google/go-github/issues/2606))
- Change actions billing structs to maps ([#2597](https://togithub.com/google/go-github/issues/2597))
and the following additional changes:
- Bump scrape and examples to use v48.2.0 ([#2596](https://togithub.com/google/go-github/issues/2596))
- Fix GitHub docs URL for get repository API ([#2600](https://togithub.com/google/go-github/issues/2600))
- Enable secret scanning with the enterprise-level REST API ([#2607](https://togithub.com/google/go-github/issues/2607))
- Add installation to CodeScanningAlertEvent type ([#2609](https://togithub.com/google/go-github/issues/2609))
- Add support for GitHub Environments for Pro/Teams pricing plans ([#2611](https://togithub.com/google/go-github/issues/2611))
### [`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 ([#2566](https://togithub.com/google/go-github/issues/2566))
- Update doc URL for PackageGetAllVersions ([#2568](https://togithub.com/google/go-github/issues/2568))
- Add the 'require_last_push_approval' field ([#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 ([#2573](https://togithub.com/google/go-github/issues/2573))
- Bump golangci-lint version to 1.50.1 ([#2576](https://togithub.com/google/go-github/issues/2576))
- Add RunAttempt field for WorkflowJob ([#2562](https://togithub.com/google/go-github/issues/2562))
- Add LockBranch and AllowForkSyncing to repos.go ([#2577](https://togithub.com/google/go-github/issues/2577))
- Add new field for issue state reason ([#2583](https://togithub.com/google/go-github/issues/2583))
- Add support for repository actions access level / permission ([#2578](https://togithub.com/google/go-github/issues/2578))
- Add has_discussions field to repository ([#2589](https://togithub.com/google/go-github/issues/2589))
- Use 'concurrency' instead of 'styfle/cancel-workflow-action' in GitHub Actions ([#2591](https://togithub.com/google/go-github/issues/2591))
- Add MakeLatest parameter to support explicitly setting latest release ([#2594](https://togithub.com/google/go-github/issues/2594))
- Change create fork options from url param to body param ([#2490](https://togithub.com/google/go-github/issues/2490))
- Support new GitHub v3 API calendar-based versioning ([#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 ([#2509](https://togithub.com/google/go-github/issues/2509))
- Add support for security manager endpoints ([#2530](https://togithub.com/google/go-github/issues/2530))
- Add support for cursor pagination in AlertListOptions ([#2512](https://togithub.com/google/go-github/issues/2512))
- Add merge_group webhook event via MergeGroupEvent and MergeGroup structs ([#2556](https://togithub.com/google/go-github/issues/2556))
- Code Scanning: add new field for dismissed comment ([#2557](https://togithub.com/google/go-github/issues/2557))
- Remove references to io/ioutil package ([#2547](https://togithub.com/google/go-github/issues/2547))
- Add support for Dependabot alert endpoints ([#2554](https://togithub.com/google/go-github/issues/2554))
- Support workflow restrictions in actions_runner_groups ([#2559](https://togithub.com/google/go-github/issues/2559))
along with the following tests, docs, and/or maintenance updates:
- Update scrape dependency to v48 ([#2502](https://togithub.com/google/go-github/issues/2502))
- Update AUTHORS for v48 ([#2503](https://togithub.com/google/go-github/issues/2503))
- Bump golangci/golangci-lint-action from 3.2.0 to 3.3.0 ([#2515](https://togithub.com/google/go-github/issues/2515))
- Add test case for JSON resource marshaling ([#2517](https://togithub.com/google/go-github/issues/2517))
- Add test case for JSON resource marshaling ([#2526](https://togithub.com/google/go-github/issues/2526))
- Fix typo in README URL ([#2514](https://togithub.com/google/go-github/issues/2514))
- Update workflow to use Go 1.19 and Go 1.18 ([#2525](https://togithub.com/google/go-github/issues/2525))
- Add test cases for JSON resource marshaling ([#2524](https://togithub.com/google/go-github/issues/2524))
- Add test cases for JSON resource marshaling ([#2527](https://togithub.com/google/go-github/issues/2527))
- Add test case for JSON resource marshaling ([#2521](https://togithub.com/google/go-github/issues/2521))
- Add test case for JSON resource marshaling ([#2528](https://togithub.com/google/go-github/issues/2528))
- Add test cases for JSON resource marshaling ([#2520](https://togithub.com/google/go-github/issues/2520))
- Add test cases for JSON resource marshaling ([#2531](https://togithub.com/google/go-github/issues/2531))
- Add test cases for JSON resource marshaling ([#2532](https://togithub.com/google/go-github/issues/2532))
- Add test for resource JSON marshaling ([#2533](https://togithub.com/google/go-github/issues/2533))
- Add tests for resource JSON marshaling ([#2536](https://togithub.com/google/go-github/issues/2536))
- Add test case for JSON resource marshaling ([#2537](https://togithub.com/google/go-github/issues/2537))
- Add test for resource JSON marshaling ([#2538](https://togithub.com/google/go-github/issues/2538))
- Add test case for JSON resource marshaling ([#2539](https://togithub.com/google/go-github/issues/2539))
- Add test case for JSON resource marshaling ([#2542](https://togithub.com/google/go-github/issues/2542))
- Add test case for JSON resource marshaling ([#2541](https://togithub.com/google/go-github/issues/2541))
- Add test case for JSON resource marshaling ([#2544](https://togithub.com/google/go-github/issues/2544))
- Add test case for JSON resource marshaling ([#2543](https://togithub.com/google/go-github/issues/2543))
- Add test case for JSON resource marshaling ([#2545](https://togithub.com/google/go-github/issues/2545))
- Add test case for JSON resource marshaling ([#2546](https://togithub.com/google/go-github/issues/2546))
- Add test case for JSON resource marshaling ([#2548](https://togithub.com/google/go-github/issues/2548))
- Add test case for JSON resource marshaling ([#2549](https://togithub.com/google/go-github/issues/2549))
- Add test cases for JSON resource marshaling ([#2550](https://togithub.com/google/go-github/issues/2550))
- Add test case for JSON resource marshaling ([#2551](https://togithub.com/google/go-github/issues/2551))
- Add test case for JSON resource marshaling ([#2552](https://togithub.com/google/go-github/issues/2552))
- Bump golangci/golangci-lint-action from 3.3.0 to 3.3.1 ([#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 [#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 [#2473](https://togithub.com/google/go-github/issues/2473)
- Bump codecov/codecov-action from 3.1.0 to 3.1.1 [#2472](https://togithub.com/google/go-github/issues/2472)
- Add SecretScanningPushProtection field to SecurityAndAnalysis struct [#2476](https://togithub.com/google/go-github/issues/2476)
- Bump styfle/cancel-workflow-action from 0.10.0 to 0.10.1 [#2484](https://togithub.com/google/go-github/issues/2484)
- Update ProtectionChanges to contain the remaining possible return values [#2486](https://togithub.com/google/go-github/issues/2486)
- Rename 'whitelist' to 'allowlist' in oauth class selectors [#2488](https://togithub.com/google/go-github/issues/2488)
- Add support for User SSH signing keys [#2482](https://togithub.com/google/go-github/issues/2482)
- Fix use GITHUB_OUTPUT from deprecated set-output [#2492](https://togithub.com/google/go-github/issues/2492)
- Add enterprise list runner applications download [#2496](https://togithub.com/google/go-github/issues/2496)
- Create custom role APIs [#2494](https://togithub.com/google/go-github/issues/2494)
- Bump styfle/cancel-workflow-action from 0.10.1 to 0.11.0 [#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 ([#2442](https://togithub.com/google/go-github/issues/2442))
- Additional options name, default_branch_only for create a fork ([#2448](https://togithub.com/google/go-github/issues/2448))
- List Secret Scan Alerts with index-based pagination ([#2446](https://togithub.com/google/go-github/issues/2446))
- Add alphanumeric param to AutolinkOptions ([#2450](https://togithub.com/google/go-github/issues/2450))
- Remove GenerateReleaseNotes from RepositoriesService.EditRelease ([#2445](https://togithub.com/google/go-github/issues/2445))
- Add org permissions to InstallationPermissions ([#2452](https://togithub.com/google/go-github/issues/2452))
- Escape special characters in ref name for update ref ([#2454](https://togithub.com/google/go-github/issues/2454))
- Bump github.com/google/go-cmp from 0.5.8 to 0.5.9 ([#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 ([#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 ([#2459](https://togithub.com/google/go-github/issues/2459))
- Fix unhandled error in actions_artifacts.go ([#2460](https://togithub.com/google/go-github/issues/2460))
- Add explicit error return ([#2469](https://togithub.com/google/go-github/issues/2469))
- Add org struct fields ([#2471](https://togithub.com/google/go-github/issues/2471))
- Always send 'checks' field when creating branch protection ([#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 [#2417](https://togithub.com/google/go-github/issues/2417)
and the following additional changes:
- Update scrape dependency to v46 [#2438](https://togithub.com/google/go-github/issues/2438)
- Fix go.mod for example [#2439](https://togithub.com/google/go-github/issues/2439)
- Add hooks support for WebSub (formerly PubSubHubbub) protocol [#2397](https://togithub.com/google/go-github/issues/2397)
- Add parameters to configure merge commit messages to repo [#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 [#2407](https://togithub.com/google/go-github/issues/2407)
- Change DependabotSecretsSelectedRepoIDs to \[]string [#2401](https://togithub.com/google/go-github/issues/2401)
and the following additional changes:
- Add state_reason to IssuesService.Edit [#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 [#2399](https://togithub.com/google/go-github/issues/2399)
- Bump styfle/cancel-workflow-action from 0.9.1 to 0.10.0 [#2398](https://togithub.com/google/go-github/issues/2398)
- Add RunAttempt field to AuditEntry [#2411](https://togithub.com/google/go-github/issues/2411)
- feat: add GetCodeownersErrors to RepositoriesService ([#2405](https://togithub.com/google/go-github/issues/2405)) [#2408](https://togithub.com/google/go-github/issues/2408)
- Remove omitempty from Content field of RepositoryContentFileOptions [#2430](https://togithub.com/google/go-github/issues/2430)
- Unable to create empty file [#2427](https://togithub.com/google/go-github/issues/2427)
- Add BypassPullRequestAllowances field [#2432](https://togithub.com/google/go-github/issues/2432)
- Add 'pending_deployments' endpoint support ([#2421](https://togithub.com/google/go-github/issues/2421)) [#2422](https://togithub.com/google/go-github/issues/2422)
- Add LFS control [#2429](https://togithub.com/google/go-github/issues/2429)
- Add tag protection [#2424](https://togithub.com/google/go-github/issues/2424)
- Add TextMatch custom header to other search type custom headers [#2388](https://togithub.com/google/go-github/issues/2388)
- Add support for parsing code_scanning_alerts in webhooks [#2392](https://togithub.com/google/go-github/issues/2392)
- Include the version of go-github in User-Agent headers sent to the GitHub API [#2403](https://togithub.com/google/go-github/issues/2403)
- chore: Update README with additional auth use case [#2434](https://togithub.com/google/go-github/issues/2434)
- feature: adding api and web to meta api endpoint. [#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 ([#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 ([#2382](https://togithub.com/google/go-github/issues/2382))
- docs fix: correct a comment ([#2383](https://togithub.com/google/go-github/issues/2383))
- Add missing common event fields ([#2384](https://togithub.com/google/go-github/issues/2384))
- Add RoleName field to User struct ([#2386](https://togithub.com/google/go-github/issues/2386))
- Add support for repo setting use_squash_pr_title_as_default ([#2390](https://togithub.com/google/go-github/issues/2390))
- Add MembersCanForkPrivateRepositories field to Organization struct ([#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 ([#2375](https://togithub.com/google/go-github/issues/2375))
- Include RoleName field in Repository struct ([#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 ([#2329](https://togithub.com/google/go-github/issues/2329))
and the following additional changes:
- Add missing Sender field in RepositoryVulnerabilityAlertEvent ([#2365](https://togithub.com/google/go-github/issues/2365))
- Add support to sync a fork branch with the upstream repository. ([#2337](https://togithub.com/google/go-github/issues/2337))
- Add fields to RateLimits struct ([#2340](https://togithub.com/google/go-github/issues/2340))
- Add ReRequestCheckRun ([#2358](https://togithub.com/google/go-github/issues/2358))
- Add 'repository_import' event ([#2364](https://togithub.com/google/go-github/issues/2364))
- Bump golangci/golangci-lint-action from 3.1.0 to 3.2.0 ([#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 ([#2367](https://togithub.com/google/go-github/issues/2367))
- update-urls: update sidebar child articles links ([#2369](https://togithub.com/google/go-github/issues/2369))
- fix: correct endpoints for custom roles ([#2370](https://togithub.com/google/go-github/issues/2370))
- Update URLs ([#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 ([#2352](https://togithub.com/google/go-github/issues/2352))
- Add a "Webhooks" section to the README.md ([#2353](https://togithub.com/google/go-github/issues/2353))
- Add support for list Code Scan Alerts by Org ([#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 ([#2354](https://togithub.com/google/go-github/issues/2354))
- Bump github.com/google/go-cmp from 0.5.7 to 0.5.8 ([#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 ([#2356](https://togithub.com/google/go-github/issues/2356))
- Add RerunFailedJobsByID and RerunJobByID ([#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 [#2032](https://togithub.com/google/go-github/issues/2032)
and the following additional changes:
- Update scrape dependency to v43 [#2308](https://togithub.com/google/go-github/issues/2308)
- Add repo webhook redelivery method [#2305](https://togithub.com/google/go-github/issues/2305)
- Add security-advisory and code-scanning-alert event types [#2311](https://togithub.com/google/go-github/issues/2311)
- Bump actions/checkout from 2 to 3 [#2314](https://togithub.com/google/go-github/issues/2314)
- Move examples dir into its own Go module [#2310](https://togithub.com/google/go-github/issues/2310)
- Add AllowUpdateBranch to the Repository struct [#2313](https://togithub.com/google/go-github/issues/2313)
- Bump actions/cache from 2 to 3 [#2316](https://togithub.com/google/go-github/issues/2316)
- Add support for setting actions permissions on a repository [#2315](https://togithub.com/google/go-github/issues/2315)
- Remove code duplication [#2321](https://togithub.com/google/go-github/issues/2321)
- Improve stringify test coverage [#2320](https://togithub.com/google/go-github/issues/2320)
- Clean up method return consistency [#2318](https://togithub.com/google/go-github/issues/2318)
- Make auto-generated files read-only [#2323](https://togithub.com/google/go-github/issues/2323)
- Update workflow to use Go 1.18 and Go 1.17 [#2322](https://togithub.com/google/go-github/issues/2322)
- Add support for the pull request review thread event [#2326](https://togithub.com/google/go-github/issues/2326)
- Bump actions/setup-go from 2 to 3 [#2332](https://togithub.com/google/go-github/issues/2332)
- Bump codecov/codecov-action from 2.1.0 to 3 [#2331](https://togithub.com/google/go-github/issues/2331)
- Add create repository with an initial commit with empty README [#2333](https://togithub.com/google/go-github/issues/2333)
- Restrict permissions for GitHub actions [#2334](https://togithub.com/google/go-github/issues/2334)
- Add support to list custom roles for organizations [#2336](https://togithub.com/google/go-github/issues/2336)
- Bump codecov/codecov-action from 3.0.0 to 3.1.0 [#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 [#2258](https://togithub.com/google/go-github/issues/2258)
- GitHub Actions Billing returns total_paid_minutes_used as float64 [#2284](https://togithub.com/google/go-github/issues/2284)
- Fix RequireCodeOwnerReviews and RequiredApprovingReviewCount fields with omitempty [#2289](https://togithub.com/google/go-github/issues/2289)
and the following additional changes:
- Update scrape dependency to v42 [#2254](https://togithub.com/google/go-github/issues/2254)
- Add AllowForking to Repository struct [#2256](https://togithub.com/google/go-github/issues/2256)
- Bump github.com/bradleyfalzon/ghinstallation/v2 from 2.0.3 to 2.0.4 [#2259](https://togithub.com/google/go-github/issues/2259)
- Update docs for CreateWorkflowDispatchEventRequest.Ref [#2263](https://togithub.com/google/go-github/issues/2263)
- Add support for additional PagesUpdate parameters [#2266](https://togithub.com/google/go-github/issues/2266)
- Bump github.com/google/go-cmp from 0.5.6 to 0.5.7 [#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 [#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 [#2271](https://togithub.com/google/go-github/issues/2271)
- ci: bump golangci-lint version [#2272](https://togithub.com/google/go-github/issues/2272)
- Add checks field to RequiredStatusChecks [#2276](https://togithub.com/google/go-github/issues/2276)
- Add Repo and Org fields to DeployKeyEvent [#2280](https://togithub.com/google/go-github/issues/2280)
- Add support for the secret scanning API [#2281](https://togithub.com/google/go-github/issues/2281)
- Add SecretScanningAlertEvent Webhook [#2282](https://togithub.com/google/go-github/issues/2282)
- Add GetWorkflowRunAttempt [#2290](https://togithub.com/google/go-github/issues/2290)
- Add APIMeta fields related to SSH keys [#2293](https://togithub.com/google/go-github/issues/2293)
- Don't update the ratelimits if we got a response from a cache [#2273](https://togithub.com/google/go-github/issues/2273)
- Revert "Remove graduated GitHub v3 API preview header" [#2301](https://togithub.com/google/go-github/issues/2301)
- Bump golangci/golangci-lint-action from 2.5.2 to 3.1.0 [#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 [#2111](https://togithub.com/google/go-github/issues/2111)
- Change type of HookDelivery.InstallationID to Int64. [#2235](https://togithub.com/google/go-github/issues/2235)
- Add pagination options to list all package versions [#2250](https://togithub.com/google/go-github/issues/2250)
and the following additional changes:
- Update scrape dependency to v41 [#2212](https://togithub.com/google/go-github/issues/2212)
- Adds test-cases for JSON resources marshaling [#2176](https://togithub.com/google/go-github/issues/2176)
- Add CodeScanningService.ListAnalysesForRepo and CodeScanningService.GetAnalysis [#2210](https://togithub.com/google/go-github/issues/2210)
- Handle protection status errors for unprotected branches [#2092](https://togithub.com/google/go-github/issues/2092)
- Update GitHub Pages API to add new response parameters [#2109](https://togithub.com/google/go-github/issues/2109)
- Add BranchProtectionRuleEvent Installation field [#2216](https://togithub.com/google/go-github/issues/2216)
- Fix since+page pagination bug [#2218](https://togithub.com/google/go-github/issues/2218)
- build: upgrade go directive in go.mod to 1.17 [#2219](https://togithub.com/google/go-github/issues/2219)
- fix references to webhook types [#2224](https://togithub.com/google/go-github/issues/2224)
- Update comment on ListPullRequestsWithCommit API [#2228](https://togithub.com/google/go-github/issues/2228)
- Fix secondary rate limits URL and improve related documentation [#2229](https://togithub.com/google/go-github/issues/2229)
- Add Changes field to RepositoryEvent [#2233](https://togithub.com/google/go-github/issues/2233)
- Add app hook deliveries API [#2226](https://togithub.com/google/go-github/issues/2226)
- Add support for External Groups [#2217](https://togithub.com/google/go-github/issues/2217)
- Add PreviousAttemptURL, RunAttempt, RunStartedAt field to WorkflowRun [#2238](https://togithub.com/google/go-github/issues/2238)
- Add new fields to WorkflowRun [#2237](https://togithub.com/google/go-github/issues/2237)
- Update .gitignore for ignoring goenv .go-version file [#2242](https://togithub.com/google/go-github/issues/2242)
- add team.html_url [#2244](https://togithub.com/google/go-github/issues/2244)
- Update ListCheckRunsOptions with new field AppID [#2236](https://togithub.com/google/go-github/issues/2236)
- adding examples for app auth [#2240](https://togithub.com/google/go-github/issues/2240)
- Support Discussions webhook event [#2221](https://togithub.com/google/go-github/issues/2221)
- Add DiscussionEvent webhook ([#2221](https://togithub.com/google/go-github/issues/2221)) [#2230](https://togithub.com/google/go-github/issues/2230)
- Add support for Dependabot secrets [#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 ([#2205](https://togithub.com/google/go-github/issues/2205))
and the following additional changes:
- Add support for creating reaction for a release ([#2196](https://togithub.com/google/go-github/issues/2196))
- Parse Before/After Links into Response ([#2154](https://togithub.com/google/go-github/issues/2154))
- Add missing attribute job_runs in WorkflowRunBill ([#2206](https://togithub.com/google/go-github/issues/2206))
- Add function to delete a workflow run by ID ([#2207](https://togithub.com/google/go-github/issues/2207))
- Handle 'since' in addition to 'page' for pagination response ([#2135](https://togithub.com/google/go-github/issues/2135))
- Add active committers API implementation ([#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 ([#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 ([#2126](https://togithub.com/google/go-github/issues/2126))
- Audit log query options set should contain url tag ([#2128](https://togithub.com/google/go-github/issues/2128))
- Fix user packages api path ([#2129](https://togithub.com/google/go-github/issues/2129))
- Add runner info to workflow job object ([#2131](https://togithub.com/google/go-github/issues/2131))
- Support GitHub Advanced Security repository settings ([#2133](https://togithub.com/google/go-github/issues/2133))
- Fix API links in actions_artifacts.go ([#2141](https://togithub.com/google/go-github/issues/2141))
- Bump github.com/PuerkitoBio/goquery from 1.7.1 to 1.8.0 in /scrape ([#2193](https://togithub.com/google/go-github/issues/2193))
- Add new RemoveMilestone method on IssuesService ([#2195](https://togithub.com/google/go-github/issues/2195))
- Add RenameBranch support ([#2119](https://togithub.com/google/go-github/issues/2119))
- Add missing fields to Timeline ([#2197](https://togithub.com/google/go-github/issues/2197))
- Add method to upload Code Scanning Sarif Analysis results to GitHub ([#2165](https://togithub.com/google/go-github/issues/2165))
plus several test- or documentation-only changes.
### [`v39.2.0`](https://togithub.com/google/go-github/releases/tag/v39.2.0)
[Compare Source](https://togithub.com/google/go-github/compare/v39.1.0...v39.2.0)
This minor release contains the following changes:
- Add support for workflow_job event's labels field ([#2103](https://togithub.com/google/go-github/issues/2103))
- Fix linters issues ([#2104](https://togithub.com/google/go-github/issues/2104))
- Add support for Packages API ([#2076](https://togithub.com/google/go-github/issues/2076))
- Fix new golangci-lint errors ([#2105](https://togithub.com/google/go-github/issues/2105))
- Bump CI version of Go to test versions 1.17.x and 1.16.x ([#2108](https://togithub.com/google/go-github/issues/2108))
- Add support for apps webhook config endpoints ([#2096](https://togithub.com/google/go-github/issues/2096))
- Add Organization to PushEvent and IssueCommentEvent ([#2116](https://togithub.com/google/go-github/issues/2116))
- Remove outdated comment for [#540](https://togithub.com/google/go-github/issues/540) ([#2117](https://togithub.com/google/go-github/issues/2117))
- Bump scrape apps to google/go-github v39 ([#2121](https://togithub.com/google/go-github/issues/2121))
- Support specifying repository names ([#2123](https://togithub.com/google/go-github/issues/2123))
- Add generate release notes support ([#2114](https://togithub.com/google/go-github/issues/2114))
### [`v39.1.0`](https://togithub.com/google/go-github/releases/tag/v39.1.0)
[Compare Source](https://togithub.com/google/go-github/compare/v39.0.0...v39.1.0)
This minor release contains the following changes:
- Add test cases to verify that error responses contain status code ([#2093](https://togithub.com/google/go-github/issues/2093))
- Bump codecov/codecov-action from 2.0.3 to 2.1.0 ([#2094](https://togithub.com/google/go-github/issues/2094))
- Add common Installation field to webhook events ([#2101](https://togithub.com/google/go-github/issues/2101))
- Add pagination fields to code scanning ([#2100](https://togithub.com/google/go-github/issues/2100))
- Add BranchProtectionRuleEvent ([#2102](https://togithub.com/google/go-github/issues/2102))
### [`v39.0.0`](https://togithub.com/google/go-github/releases/tag/v39.0.0)
[Compare Source](https://togithub.com/google/go-github/compare/v38.1.0...v39.0.0)
This release contains the following breaking API changes:
- Add List Options for ListRepositoryAccessRunnerGroup [#2086](https://togithub.com/google/go-github/issues/2086)
and the following additional changes:
- Update Cursor comment to reference an existing method [#2042](https://togithub.com/google/go-github/issues/2042)
- Add raw_key field to GPGKey struct [#2043](https://togithub.com/google/go-github/issues/2043)
- Upgrade crypto and net dependencies [#2045](https://togithub.com/google/go-github/issues/2045)
- Set up workflow for golangci [#2020](https://togithub.com/google/go-github/issues/2020)
- chore(ci) : cache go-build folders [#2054](https://togithub.com/google/go-github/issues/2054)
- Bump styfle/cancel-workflow-action from 0.9.0 to 0.9.1 [#2049](https://togithub.com/google/go-github/issues/2049)
- Fix update-urls unit tests broken by [#1875](https://togithub.com/google/go-github/issues/1875) [#2058](https://togithub.com/google/go-github/issues/2058)
- Bump codecov/codecov-action from 2.0.2 to 2.0.3 [#2065](https://togithub.com/google/go-github/issues/2065)
- Introduce the auto merge property [#2074](https://togithub.com/google/go-github/issues/2074)
- Add support for autolinks [#2046](https://togithub.com/google/go-github/issues/2046)
- Implement SCIM [#2062](https://togithub.com/google/go-github/issues/2062)
- Add function for redelivering webhooks [#2061](https://togithub.com/google/go-github/issues/2061)
- Add struct for workflow_job event [#2038](https://togithub.com/google/go-github/issues/2038)
- Add created field to ListWorkflowRunsOptions [#2083](https://togithub.com/google/go-github/issues/2083)
- Update repo community profile API [#2084](https://togithub.com/google/go-github/issues/2084)
plus several test- or documentation-only changes.
### [`v38.1.0`](https://togithub.com/google/go-github/releases/tag/v38.1.0)
[Compare Source](https://togithub.com/google/go-github/compare/v38.0.0...v38.1.0)
This release contains the following non-breaking-API change:
- Allow empty selected_repository_ids for SetSelectedReposForOrgSecret ([#2036](https://togithub.com/google/go-github/issues/2036))
and the following documentation-only change:
- Fix GitHub docs links ([#2039](https://togithub.com/google/go-github/issues/2039))
### [`v38.0.0`](https://togithub.com/google/go-github/releases/tag/v38.0.0)
[Compare Source](https://togithub.com/google/go-github/compare/v37.0.0...v38.0.0)
This release contains the following breaking API changes:
- Add ListOptions to GetCommit and CompareCommits to support pagination ([#1960](https://togithub.com/google/go-github/issues/1960))
- Fix deprecated state/open field ([#2017](https://togithub.com/google/go-github/issues/2017))
and the following additional changes:
- Add RequiredConversationResolution ProtectionRequest field ([#1959](https://togithub.com/google/go-github/issues/1959))
- Add missing CreatedAt and UpdatedAt fields to CheckSuite. ([#1983](https://togithub.com/google/go-github/issues/1983))
- Add support for listing and getting repository/organization webhook deliveries ([#1934](https://togithub.com/google/go-github/issues/1934))
- Expose event message headers, introduce a new way to read the body from an `io.Reader` ([#1955](https://togithub.com/google/go-github/issues/1955))
- Add allows_public_repositories to actions_runner_group ([#1998](https://togithub.com/google/go-github/issues/1998))
- Add methods to add and remove repos for actions on org level ([#1997](https://togithub.com/google/go-github/issues/1997))
- Add new GitHub code scanning Alert fields ([#2013](https://togithub.com/google/go-github/issues/2013))
- Add Client method ([#2016](https://togithub.com/google/go-github/issues/2016))
- Add avatar_url field to RepoStatus ([#2021](https://togithub.com/google/go-github/issues/2021))
- Add Slug field to AppConfig ([#2029](https://togithub.com/google/go-github/issues/2029))
- Add TokenExpiration to Response ([#2031](https://togithub.com/google/go-github/issues/2031))
plus the following test- or documentation-only changes:
- Add test cases for JSON resource marshaling ([#1961](https://togithub.com/google/go-github/issues/1961))
- Add test cases for JSON resource marshaling ([#1965](https://togithub.com/google/go-github/issues/1965))
- Add test cases for JSON resource marshaling ([#1966](https://togithub.com/google/go-github/issues/1966))
- Add test cases for JSON resource marshaling ([#1967](https://togithub.com/google/go-github/issues/1967))
- Add test cases for JSON resource marshaling ([#1968](https://togithub.com/google/go-github/issues/1968))
- Add test cases for JSON resource marshaling ([#1969](https://togithub.com/google/go-github/issues/1969))
- Add test cases for JSON resource marshaling ([#1970](https://togithub.com/google/go-github/issues/1970))
- Add test cases for JSON resource marshaling ([#1971](https://togithub.com/google/go-github/issues/1971))
- Add test cases for JSON resource marshaling ([#1972](https://togithub.com/google/go-github/issues/1972))
- Add test cases for JSON resource marshaling ([#1973](https://togithub.com/google/go-github/issues/1973))
- Add test cases for JSON resource marshaling ([#1974](https://togithub.com/google/go-github/issues/1974))
- Add test cases for JSON resource marshaling ([#1975](https://togithub.com/google/go-github/issues/1975))
- Add test cases for JSON resource marshaling ([#1976](https://togithub.com/google/go-github/issues/1976))
- Add test cases for JSON resource marshaling ([#1977](https://togithub.com/google/go-github/issues/1977))
- Add test cases for JSON resource marshaling ([#1978](https://togithub.com/google/go-github/issues/1978))
- Add test cases for JSON resource marshaling ([#1979](https://togithub.com/google/go-github/issues/1979))
- Add test cases for JSON resource marshaling ([#1981](https://togithub.com/google/go-github/issues/1981))
- Add test cases for JSON resource marshaling ([#1982](https://togithub.com/google/go-github/issues/1982))
- Add test cases for JSON resource marshaling ([#1984](https://togithub.com/google/go-github/issues/1984))
- Add test cases for JSON resource marshaling ([#1985](https://togithub.com/google/go-github/issues/1985))
- Add test cases for JSON resource marshaling ([#1986](https://togithub.com/google/go-github/issues/1986))
- Add test cases for JSON resource marshaling ([#1987](https://togithub.com/google/go-github/issues/1987))
- Add test cases for JSON resource marshaling ([#1988](https://togithub.com/google/go-github/issues/1988))
- Add test cases for JSON resource marshaling ([#1989](https://togithub.com/google/go-github/issues/1989))
- Add test cases for JSON resource marshaling ([#1990](https://togithub.com/google/go-github/issues/1990))
- Add test cases for JSON resource marshaling ([#1991](https://togithub.com/google/go-github/issues/1991))
- Add test cases for JSON resource marshaling ([#1992](https://togithub.com/google/go-github/issues/1992))
- Add test cases for JSON resource marshaling ([#1994](https://togithub.com/google/go-github/issues/1994))
- Add test cases for JSON resource marshaling ([#2000](https://togithub.com/google/go-github/issues/2000))
- Add test cases for JSON resource marshaling ([#2001](https://togithub.com/google/go-github/issues/2001))
- Make test names consistent ([#2002](https://togithub.com/google/go-github/issues/2002))
- Add test cases for JSON resource marshaling ([#2003](https://togithub.com/google/go-github/issues/2003))
- Add test cases for JSON resource marshaling ([#2004](https://togithub.com/google/go-github/issues/2004))
- Make test names consistent ([#2005](https://togithub.com/google/go-github/issues/2005))
- Add test cases for JSON resource marshaling ([#2006](https://togithub.com/google/go-github/issues/2006))
- Add test cases for JSON resource marshaling ([#2007](https://togithub.com/google/go-github/issues/2007))
- Add test cases for JSON resource marshaling ([#2009](https://togithub.com/google/go-github/issues/2009))
- Add test cases for JSON resource marshaling ([#2010](https://togithub.com/google/go-github/issues/2010))
- Add test cases for JSON resource marshaling ([#2011](https://togithub.com/google/go-github/issues/2011))
- Update AUTHORS with recent contributors ([#2012](https://togithub.com/google/go-github/issues/2012))
- Add test cases for JSON resource marshaling ([#2014](https://togithub.com/google/go-github/issues/2014))
- Add mention to go-github-mock in README ([#2025](https://togithub.com/google/go-github/issues/2025))
- Use x crypto instead of sodium ([#2034](https://togithub.com/google/go-github/issues/2034))
### [`v37.0.0`](https://togithub.com/google/go-github/releases/tag/v37.0.0)
[Compare Source](https://togithub.com/google/go-github/compare/v36.0.0...v37.0.0)
This release contains the following breaking API changes:
- define struct types instead of using anonymous structs [#1900](https://togithub.com/google/go-github/issues/1900)
- Modify GetBranch to handle redirects [#1901](https://togithub.com/google/go-github/issues/1901)
- Fix Code Scanning Alert tool field [#1904](https://togithub.com/google/go-github/issues/1904)
and the following additional changes:
- Parse 'reviewed' event object 'state' property [#1886](https://togithub.com/google/go-github/issues/1886)
- Add auto_merge field in PullRequest struct [#1896](https://togithub.com/google/go-github/issues/1896)
- Repository Vulnerability Alert Add Missing Fields [#1898](https://togithub.com/google/go-github/issues/1898)
- Enable Client.RateLimits to bypass the rate limit check [#1907](https://togithub.com/google/go-github/issues/1907)
- Handle MIME parameters in Content-Type Header [#1922](https://togithub.com/google/go-github/issues/1922)
- Add RequiredConversationResolution protection field [#1946](https://togithub.com/google/go-github/issues/1946)
- Repository Object - Deprecated Fields [#1952](https://togithub.com/google/go-github/issues/1952)
plus the following test-only changes:
- Add test cases for JSON resource marshaling [#1902](https://togithub.com/google/go-github/issues/1902)
- Add test cases for JSON resource marshaling [#1906](https://togithub.com/google/go-github/issues/1906)
- Add test cases for JSON resource marshaling [#1908](https://togithub.com/google/go-github/issues/1908)
- Add test cases for JSON resource marshaling [#1909](https://togithub.com/google/go-github/issues/1909)
- Add test cases for JSON resource marshaling [#1912](https://togithub.com/google/go-github/issues/1912)
- Add test cases for JSON resource marshaling [#1913](https://togithub.com/google/go-github/issues/1913)
- Add test cases for JSON resource marshaling [#1914](https://togithub.com/google/go-github/issues/1914)
- Add test cases for JSON resource marshaling [#1915](https://togithub.com/google/go-github/issues/1915)
- Add test cases for JSON resource marshaling [#1917](https://togithub.com/google/go-github/issues/1917)
- Add test cases for JSON resource marshaling [#1918](https://togithub.com/google/go-github/issues/1918)
- Add test cases for JSON resource marshaling [#1919](https://togithub.com/google/go-github/issues/1919)
- Add test cases for JSON resource marshaling [#1923](https://togithub.com/google/go-github/issues/1923)
- Add test cases for JSON resource marshaling [#1924](https://togithub.com/google/go-github/issues/1924)
- Add test cases for JSON resource marshaling [#1925](https://togithub.com/google/go-github/issues/1925)
- Add test cases for JSON resource marshaling [#1926](https://togithub.com/google/go-github/issues/1926)
- Add test cases for JSON resource marshaling [#1927](https://togithub.com/google/go-github/issues/1927)
- Add test cases for JSON resource marshaling [#1928](https://togithub.com/google/go-github/issues/1928)
- Add test cases for JSON resource marshaling [#1929](https://togithub.com/google/go-github/issues/1929)
- Add test cases for JSON resource marshaling [#1930](https://togithub.com/google/go-github/issues/1930)
- Add test cases for JSON resource marshaling [#1937](https://togithub.com/google/go-github/issues/1937)
- Add test cases for JSON resource marshaling [#1938](https://togithub.com/google/go-github/issues/1938)
- Add test for JSON marshaling for Teams [#1941](https://togithub.com/google/go-github/issues/1941)
- Add test cases for JSON resource marshaling [#1951](https://togithub.com/google/go-github/issues/1951)
### [`v36.0.0`](https://togithub.com/google/go-github/releases/tag/v36.0.0)
[Compare Source](https://togithub.com/google/go-github/compare/v35.3.0...v36.0.0)
This release contains the following breaking API changes:
- [#1883](https://togithub.com/google/go-github/issues/1883)
- [#1892](https://togithub.com/google/go-github/issues/1892)
and the following additional changes:
- [#1884](https://togithub.com/google/go-github/issues/1884)
- [#1891](https://togithub.com/google/go-github/issues/1891)
- fix: typo in readme in word "parameters" https://github.com/google/go-github/commit/3c23f3ced9aa9c82995de556ac442c9e52df2fef
- actions: use actions/setup-go@v2 https://github.com/google/go-github/commit/77dd0eb64ad232f78c67fd86fe4b84be887bab5b
- [#1910](https://togithub.com/google/go-github/issues/1910)
- [#1911](https://togithub.com/google/go-github/issues/1911)
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.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
v35.3.0
->v50.0.0
Release Notes
google/go-github
### [`v50.0.0`](https://togithub.com/google/go-github/releases/tag/v50.0.0) [Compare Source](https://togithub.com/google/go-github/compare/v49.1.0...v50.0.0) This release contains the following breaking API changes: - Change total_minutes_used and included_minutes from int to float64 ([#2643](https://togithub.com/google/go-github/issues/2643)) - Change all fields from time.Time to github.Timestamp ([#2646](https://togithub.com/google/go-github/issues/2646)) and the following additional changes: - Add new DeploymentBranchPolicies endpoints ([#2621](https://togithub.com/google/go-github/issues/2621)) - Bump github.com/google/go-github/v49 from 49.0.0 to 49.1.0 in /scrape ([#2627](https://togithub.com/google/go-github/issues/2627)) - Add RequireLastPushApproval field to UpdateBranchProtection ([#2629](https://togithub.com/google/go-github/issues/2629)) - Add workflow_name to WorkflowJob struct ([#2630](https://togithub.com/google/go-github/issues/2630)) - Support users and teams in branch protection access restrictions ([#2561](https://togithub.com/google/go-github/issues/2561)) - Add httpcache code example to README.md ([#2632](https://togithub.com/google/go-github/issues/2632)) - Bump golangci/golangci-lint-action from 3.3.1 to 3.4.0 ([#2638](https://togithub.com/google/go-github/issues/2638)) - Add NewTokenClient ([#2637](https://togithub.com/google/go-github/issues/2637)) - Add method to update codescanning alert ([#2639](https://togithub.com/google/go-github/issues/2639)) - Add JSON tag for ErrorResponse ([#2641](https://togithub.com/google/go-github/issues/2641)) - Use NewTokenClient in tests and examples ([#2644](https://togithub.com/google/go-github/issues/2644)) ### [`v49.1.0`](https://togithub.com/google/go-github/releases/tag/v49.1.0) [Compare Source](https://togithub.com/google/go-github/compare/v49.0.0...v49.1.0) This minor release contains the following changes: - Update scrape dependency to v49 ([#2617](https://togithub.com/google/go-github/issues/2617)) - Add support for GitHub Actions cache API ([#2604](https://togithub.com/google/go-github/issues/2604)) - Support OIDC subject claim customization templates for actions ([#2615](https://togithub.com/google/go-github/issues/2615)) - Omit OpenID Connect customization template claims when none are set ([#2620](https://togithub.com/google/go-github/issues/2620)) - Update minor version to v49.1.0 ([#2623](https://togithub.com/google/go-github/issues/2623)) ### [`v49.0.0`](https://togithub.com/google/go-github/releases/tag/v49.0.0) [Compare Source](https://togithub.com/google/go-github/compare/v48.2.0...v49.0.0) This release contains the following breaking API changes: - Fix JSON protection unmarshal error ([#2606](https://togithub.com/google/go-github/issues/2606)) - Change actions billing structs to maps ([#2597](https://togithub.com/google/go-github/issues/2597)) and the following additional changes: - Bump scrape and examples to use v48.2.0 ([#2596](https://togithub.com/google/go-github/issues/2596)) - Fix GitHub docs URL for get repository API ([#2600](https://togithub.com/google/go-github/issues/2600)) - Enable secret scanning with the enterprise-level REST API ([#2607](https://togithub.com/google/go-github/issues/2607)) - Add installation to CodeScanningAlertEvent type ([#2609](https://togithub.com/google/go-github/issues/2609)) - Add support for GitHub Environments for Pro/Teams pricing plans ([#2611](https://togithub.com/google/go-github/issues/2611)) ### [`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 ([#2566](https://togithub.com/google/go-github/issues/2566)) - Update doc URL for PackageGetAllVersions ([#2568](https://togithub.com/google/go-github/issues/2568)) - Add the 'require_last_push_approval' field ([#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 ([#2573](https://togithub.com/google/go-github/issues/2573)) - Bump golangci-lint version to 1.50.1 ([#2576](https://togithub.com/google/go-github/issues/2576)) - Add RunAttempt field for WorkflowJob ([#2562](https://togithub.com/google/go-github/issues/2562)) - Add LockBranch and AllowForkSyncing to repos.go ([#2577](https://togithub.com/google/go-github/issues/2577)) - Add new field for issue state reason ([#2583](https://togithub.com/google/go-github/issues/2583)) - Add support for repository actions access level / permission ([#2578](https://togithub.com/google/go-github/issues/2578)) - Add has_discussions field to repository ([#2589](https://togithub.com/google/go-github/issues/2589)) - Use 'concurrency' instead of 'styfle/cancel-workflow-action' in GitHub Actions ([#2591](https://togithub.com/google/go-github/issues/2591)) - Add MakeLatest parameter to support explicitly setting latest release ([#2594](https://togithub.com/google/go-github/issues/2594)) - Change create fork options from url param to body param ([#2490](https://togithub.com/google/go-github/issues/2490)) - Support new GitHub v3 API calendar-based versioning ([#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 ([#2509](https://togithub.com/google/go-github/issues/2509)) - Add support for security manager endpoints ([#2530](https://togithub.com/google/go-github/issues/2530)) - Add support for cursor pagination in AlertListOptions ([#2512](https://togithub.com/google/go-github/issues/2512)) - Add merge_group webhook event via MergeGroupEvent and MergeGroup structs ([#2556](https://togithub.com/google/go-github/issues/2556)) - Code Scanning: add new field for dismissed comment ([#2557](https://togithub.com/google/go-github/issues/2557)) - Remove references to io/ioutil package ([#2547](https://togithub.com/google/go-github/issues/2547)) - Add support for Dependabot alert endpoints ([#2554](https://togithub.com/google/go-github/issues/2554)) - Support workflow restrictions in actions_runner_groups ([#2559](https://togithub.com/google/go-github/issues/2559)) along with the following tests, docs, and/or maintenance updates: - Update scrape dependency to v48 ([#2502](https://togithub.com/google/go-github/issues/2502)) - Update AUTHORS for v48 ([#2503](https://togithub.com/google/go-github/issues/2503)) - Bump golangci/golangci-lint-action from 3.2.0 to 3.3.0 ([#2515](https://togithub.com/google/go-github/issues/2515)) - Add test case for JSON resource marshaling ([#2517](https://togithub.com/google/go-github/issues/2517)) - Add test case for JSON resource marshaling ([#2526](https://togithub.com/google/go-github/issues/2526)) - Fix typo in README URL ([#2514](https://togithub.com/google/go-github/issues/2514)) - Update workflow to use Go 1.19 and Go 1.18 ([#2525](https://togithub.com/google/go-github/issues/2525)) - Add test cases for JSON resource marshaling ([#2524](https://togithub.com/google/go-github/issues/2524)) - Add test cases for JSON resource marshaling ([#2527](https://togithub.com/google/go-github/issues/2527)) - Add test case for JSON resource marshaling ([#2521](https://togithub.com/google/go-github/issues/2521)) - Add test case for JSON resource marshaling ([#2528](https://togithub.com/google/go-github/issues/2528)) - Add test cases for JSON resource marshaling ([#2520](https://togithub.com/google/go-github/issues/2520)) - Add test cases for JSON resource marshaling ([#2531](https://togithub.com/google/go-github/issues/2531)) - Add test cases for JSON resource marshaling ([#2532](https://togithub.com/google/go-github/issues/2532)) - Add test for resource JSON marshaling ([#2533](https://togithub.com/google/go-github/issues/2533)) - Add tests for resource JSON marshaling ([#2536](https://togithub.com/google/go-github/issues/2536)) - Add test case for JSON resource marshaling ([#2537](https://togithub.com/google/go-github/issues/2537)) - Add test for resource JSON marshaling ([#2538](https://togithub.com/google/go-github/issues/2538)) - Add test case for JSON resource marshaling ([#2539](https://togithub.com/google/go-github/issues/2539)) - Add test case for JSON resource marshaling ([#2542](https://togithub.com/google/go-github/issues/2542)) - Add test case for JSON resource marshaling ([#2541](https://togithub.com/google/go-github/issues/2541)) - Add test case for JSON resource marshaling ([#2544](https://togithub.com/google/go-github/issues/2544)) - Add test case for JSON resource marshaling ([#2543](https://togithub.com/google/go-github/issues/2543)) - Add test case for JSON resource marshaling ([#2545](https://togithub.com/google/go-github/issues/2545)) - Add test case for JSON resource marshaling ([#2546](https://togithub.com/google/go-github/issues/2546)) - Add test case for JSON resource marshaling ([#2548](https://togithub.com/google/go-github/issues/2548)) - Add test case for JSON resource marshaling ([#2549](https://togithub.com/google/go-github/issues/2549)) - Add test cases for JSON resource marshaling ([#2550](https://togithub.com/google/go-github/issues/2550)) - Add test case for JSON resource marshaling ([#2551](https://togithub.com/google/go-github/issues/2551)) - Add test case for JSON resource marshaling ([#2552](https://togithub.com/google/go-github/issues/2552)) - Bump golangci/golangci-lint-action from 3.3.0 to 3.3.1 ([#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 [#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 [#2473](https://togithub.com/google/go-github/issues/2473) - Bump codecov/codecov-action from 3.1.0 to 3.1.1 [#2472](https://togithub.com/google/go-github/issues/2472) - Add SecretScanningPushProtection field to SecurityAndAnalysis struct [#2476](https://togithub.com/google/go-github/issues/2476) - Bump styfle/cancel-workflow-action from 0.10.0 to 0.10.1 [#2484](https://togithub.com/google/go-github/issues/2484) - Update ProtectionChanges to contain the remaining possible return values [#2486](https://togithub.com/google/go-github/issues/2486) - Rename 'whitelist' to 'allowlist' in oauth class selectors [#2488](https://togithub.com/google/go-github/issues/2488) - Add support for User SSH signing keys [#2482](https://togithub.com/google/go-github/issues/2482) - Fix use GITHUB_OUTPUT from deprecated set-output [#2492](https://togithub.com/google/go-github/issues/2492) - Add enterprise list runner applications download [#2496](https://togithub.com/google/go-github/issues/2496) - Create custom role APIs [#2494](https://togithub.com/google/go-github/issues/2494) - Bump styfle/cancel-workflow-action from 0.10.1 to 0.11.0 [#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 ([#2442](https://togithub.com/google/go-github/issues/2442)) - Additional options name, default_branch_only for create a fork ([#2448](https://togithub.com/google/go-github/issues/2448)) - List Secret Scan Alerts with index-based pagination ([#2446](https://togithub.com/google/go-github/issues/2446)) - Add alphanumeric param to AutolinkOptions ([#2450](https://togithub.com/google/go-github/issues/2450)) - Remove GenerateReleaseNotes from RepositoriesService.EditRelease ([#2445](https://togithub.com/google/go-github/issues/2445)) - Add org permissions to InstallationPermissions ([#2452](https://togithub.com/google/go-github/issues/2452)) - Escape special characters in ref name for update ref ([#2454](https://togithub.com/google/go-github/issues/2454)) - Bump github.com/google/go-cmp from 0.5.8 to 0.5.9 ([#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 ([#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 ([#2459](https://togithub.com/google/go-github/issues/2459)) - Fix unhandled error in actions_artifacts.go ([#2460](https://togithub.com/google/go-github/issues/2460)) - Add explicit error return ([#2469](https://togithub.com/google/go-github/issues/2469)) - Add org struct fields ([#2471](https://togithub.com/google/go-github/issues/2471)) - Always send 'checks' field when creating branch protection ([#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 [#2417](https://togithub.com/google/go-github/issues/2417) and the following additional changes: - Update scrape dependency to v46 [#2438](https://togithub.com/google/go-github/issues/2438) - Fix go.mod for example [#2439](https://togithub.com/google/go-github/issues/2439) - Add hooks support for WebSub (formerly PubSubHubbub) protocol [#2397](https://togithub.com/google/go-github/issues/2397) - Add parameters to configure merge commit messages to repo [#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 [#2407](https://togithub.com/google/go-github/issues/2407) - Change DependabotSecretsSelectedRepoIDs to \[]string [#2401](https://togithub.com/google/go-github/issues/2401) and the following additional changes: - Add state_reason to IssuesService.Edit [#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 [#2399](https://togithub.com/google/go-github/issues/2399) - Bump styfle/cancel-workflow-action from 0.9.1 to 0.10.0 [#2398](https://togithub.com/google/go-github/issues/2398) - Add RunAttempt field to AuditEntry [#2411](https://togithub.com/google/go-github/issues/2411) - feat: add GetCodeownersErrors to RepositoriesService ([#2405](https://togithub.com/google/go-github/issues/2405)) [#2408](https://togithub.com/google/go-github/issues/2408) - Remove omitempty from Content field of RepositoryContentFileOptions [#2430](https://togithub.com/google/go-github/issues/2430) - Unable to create empty file [#2427](https://togithub.com/google/go-github/issues/2427) - Add BypassPullRequestAllowances field [#2432](https://togithub.com/google/go-github/issues/2432) - Add 'pending_deployments' endpoint support ([#2421](https://togithub.com/google/go-github/issues/2421)) [#2422](https://togithub.com/google/go-github/issues/2422) - Add LFS control [#2429](https://togithub.com/google/go-github/issues/2429) - Add tag protection [#2424](https://togithub.com/google/go-github/issues/2424) - Add TextMatch custom header to other search type custom headers [#2388](https://togithub.com/google/go-github/issues/2388) - Add support for parsing code_scanning_alerts in webhooks [#2392](https://togithub.com/google/go-github/issues/2392) - Include the version of go-github in User-Agent headers sent to the GitHub API [#2403](https://togithub.com/google/go-github/issues/2403) - chore: Update README with additional auth use case [#2434](https://togithub.com/google/go-github/issues/2434) - feature: adding api and web to meta api endpoint. [#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 ([#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 ([#2382](https://togithub.com/google/go-github/issues/2382)) - docs fix: correct a comment ([#2383](https://togithub.com/google/go-github/issues/2383)) - Add missing common event fields ([#2384](https://togithub.com/google/go-github/issues/2384)) - Add RoleName field to User struct ([#2386](https://togithub.com/google/go-github/issues/2386)) - Add support for repo setting use_squash_pr_title_as_default ([#2390](https://togithub.com/google/go-github/issues/2390)) - Add MembersCanForkPrivateRepositories field to Organization struct ([#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 ([#2375](https://togithub.com/google/go-github/issues/2375)) - Include RoleName field in Repository struct ([#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 ([#2329](https://togithub.com/google/go-github/issues/2329)) and the following additional changes: - Add missing Sender field in RepositoryVulnerabilityAlertEvent ([#2365](https://togithub.com/google/go-github/issues/2365)) - Add support to sync a fork branch with the upstream repository. ([#2337](https://togithub.com/google/go-github/issues/2337)) - Add fields to RateLimits struct ([#2340](https://togithub.com/google/go-github/issues/2340)) - Add ReRequestCheckRun ([#2358](https://togithub.com/google/go-github/issues/2358)) - Add 'repository_import' event ([#2364](https://togithub.com/google/go-github/issues/2364)) - Bump golangci/golangci-lint-action from 3.1.0 to 3.2.0 ([#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 ([#2367](https://togithub.com/google/go-github/issues/2367)) - update-urls: update sidebar child articles links ([#2369](https://togithub.com/google/go-github/issues/2369)) - fix: correct endpoints for custom roles ([#2370](https://togithub.com/google/go-github/issues/2370)) - Update URLs ([#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 ([#2352](https://togithub.com/google/go-github/issues/2352)) - Add a "Webhooks" section to the README.md ([#2353](https://togithub.com/google/go-github/issues/2353)) - Add support for list Code Scan Alerts by Org ([#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 ([#2354](https://togithub.com/google/go-github/issues/2354)) - Bump github.com/google/go-cmp from 0.5.7 to 0.5.8 ([#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 ([#2356](https://togithub.com/google/go-github/issues/2356)) - Add RerunFailedJobsByID and RerunJobByID ([#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 [#2032](https://togithub.com/google/go-github/issues/2032) and the following additional changes: - Update scrape dependency to v43 [#2308](https://togithub.com/google/go-github/issues/2308) - Add repo webhook redelivery method [#2305](https://togithub.com/google/go-github/issues/2305) - Add security-advisory and code-scanning-alert event types [#2311](https://togithub.com/google/go-github/issues/2311) - Bump actions/checkout from 2 to 3 [#2314](https://togithub.com/google/go-github/issues/2314) - Move examples dir into its own Go module [#2310](https://togithub.com/google/go-github/issues/2310) - Add AllowUpdateBranch to the Repository struct [#2313](https://togithub.com/google/go-github/issues/2313) - Bump actions/cache from 2 to 3 [#2316](https://togithub.com/google/go-github/issues/2316) - Add support for setting actions permissions on a repository [#2315](https://togithub.com/google/go-github/issues/2315) - Remove code duplication [#2321](https://togithub.com/google/go-github/issues/2321) - Improve stringify test coverage [#2320](https://togithub.com/google/go-github/issues/2320) - Clean up method return consistency [#2318](https://togithub.com/google/go-github/issues/2318) - Make auto-generated files read-only [#2323](https://togithub.com/google/go-github/issues/2323) - Update workflow to use Go 1.18 and Go 1.17 [#2322](https://togithub.com/google/go-github/issues/2322) - Add support for the pull request review thread event [#2326](https://togithub.com/google/go-github/issues/2326) - Bump actions/setup-go from 2 to 3 [#2332](https://togithub.com/google/go-github/issues/2332) - Bump codecov/codecov-action from 2.1.0 to 3 [#2331](https://togithub.com/google/go-github/issues/2331) - Add create repository with an initial commit with empty README [#2333](https://togithub.com/google/go-github/issues/2333) - Restrict permissions for GitHub actions [#2334](https://togithub.com/google/go-github/issues/2334) - Add support to list custom roles for organizations [#2336](https://togithub.com/google/go-github/issues/2336) - Bump codecov/codecov-action from 3.0.0 to 3.1.0 [#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 [#2258](https://togithub.com/google/go-github/issues/2258) - GitHub Actions Billing returns total_paid_minutes_used as float64 [#2284](https://togithub.com/google/go-github/issues/2284) - Fix RequireCodeOwnerReviews and RequiredApprovingReviewCount fields with omitempty [#2289](https://togithub.com/google/go-github/issues/2289) and the following additional changes: - Update scrape dependency to v42 [#2254](https://togithub.com/google/go-github/issues/2254) - Add AllowForking to Repository struct [#2256](https://togithub.com/google/go-github/issues/2256) - Bump github.com/bradleyfalzon/ghinstallation/v2 from 2.0.3 to 2.0.4 [#2259](https://togithub.com/google/go-github/issues/2259) - Update docs for CreateWorkflowDispatchEventRequest.Ref [#2263](https://togithub.com/google/go-github/issues/2263) - Add support for additional PagesUpdate parameters [#2266](https://togithub.com/google/go-github/issues/2266) - Bump github.com/google/go-cmp from 0.5.6 to 0.5.7 [#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 [#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 [#2271](https://togithub.com/google/go-github/issues/2271) - ci: bump golangci-lint version [#2272](https://togithub.com/google/go-github/issues/2272) - Add checks field to RequiredStatusChecks [#2276](https://togithub.com/google/go-github/issues/2276) - Add Repo and Org fields to DeployKeyEvent [#2280](https://togithub.com/google/go-github/issues/2280) - Add support for the secret scanning API [#2281](https://togithub.com/google/go-github/issues/2281) - Add SecretScanningAlertEvent Webhook [#2282](https://togithub.com/google/go-github/issues/2282) - Add GetWorkflowRunAttempt [#2290](https://togithub.com/google/go-github/issues/2290) - Add APIMeta fields related to SSH keys [#2293](https://togithub.com/google/go-github/issues/2293) - Don't update the ratelimits if we got a response from a cache [#2273](https://togithub.com/google/go-github/issues/2273) - Revert "Remove graduated GitHub v3 API preview header" [#2301](https://togithub.com/google/go-github/issues/2301) - Bump golangci/golangci-lint-action from 2.5.2 to 3.1.0 [#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 [#2111](https://togithub.com/google/go-github/issues/2111) - Change type of HookDelivery.InstallationID to Int64. [#2235](https://togithub.com/google/go-github/issues/2235) - Add pagination options to list all package versions [#2250](https://togithub.com/google/go-github/issues/2250) and the following additional changes: - Update scrape dependency to v41 [#2212](https://togithub.com/google/go-github/issues/2212) - Adds test-cases for JSON resources marshaling [#2176](https://togithub.com/google/go-github/issues/2176) - Add CodeScanningService.ListAnalysesForRepo and CodeScanningService.GetAnalysis [#2210](https://togithub.com/google/go-github/issues/2210) - Handle protection status errors for unprotected branches [#2092](https://togithub.com/google/go-github/issues/2092) - Update GitHub Pages API to add new response parameters [#2109](https://togithub.com/google/go-github/issues/2109) - Add BranchProtectionRuleEvent Installation field [#2216](https://togithub.com/google/go-github/issues/2216) - Fix since+page pagination bug [#2218](https://togithub.com/google/go-github/issues/2218) - build: upgrade go directive in go.mod to 1.17 [#2219](https://togithub.com/google/go-github/issues/2219) - fix references to webhook types [#2224](https://togithub.com/google/go-github/issues/2224) - Update comment on ListPullRequestsWithCommit API [#2228](https://togithub.com/google/go-github/issues/2228) - Fix secondary rate limits URL and improve related documentation [#2229](https://togithub.com/google/go-github/issues/2229) - Add Changes field to RepositoryEvent [#2233](https://togithub.com/google/go-github/issues/2233) - Add app hook deliveries API [#2226](https://togithub.com/google/go-github/issues/2226) - Add support for External Groups [#2217](https://togithub.com/google/go-github/issues/2217) - Add PreviousAttemptURL, RunAttempt, RunStartedAt field to WorkflowRun [#2238](https://togithub.com/google/go-github/issues/2238) - Add new fields to WorkflowRun [#2237](https://togithub.com/google/go-github/issues/2237) - Update .gitignore for ignoring goenv .go-version file [#2242](https://togithub.com/google/go-github/issues/2242) - add team.html_url [#2244](https://togithub.com/google/go-github/issues/2244) - Update ListCheckRunsOptions with new field AppID [#2236](https://togithub.com/google/go-github/issues/2236) - adding examples for app auth [#2240](https://togithub.com/google/go-github/issues/2240) - Support Discussions webhook event [#2221](https://togithub.com/google/go-github/issues/2221) - Add DiscussionEvent webhook ([#2221](https://togithub.com/google/go-github/issues/2221)) [#2230](https://togithub.com/google/go-github/issues/2230) - Add support for Dependabot secrets [#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 ([#2205](https://togithub.com/google/go-github/issues/2205)) and the following additional changes: - Add support for creating reaction for a release ([#2196](https://togithub.com/google/go-github/issues/2196)) - Parse Before/After Links into Response ([#2154](https://togithub.com/google/go-github/issues/2154)) - Add missing attribute job_runs in WorkflowRunBill ([#2206](https://togithub.com/google/go-github/issues/2206)) - Add function to delete a workflow run by ID ([#2207](https://togithub.com/google/go-github/issues/2207)) - Handle 'since' in addition to 'page' for pagination response ([#2135](https://togithub.com/google/go-github/issues/2135)) - Add active committers API implementation ([#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 ([#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 ([#2126](https://togithub.com/google/go-github/issues/2126)) - Audit log query options set should contain url tag ([#2128](https://togithub.com/google/go-github/issues/2128)) - Fix user packages api path ([#2129](https://togithub.com/google/go-github/issues/2129)) - Add runner info to workflow job object ([#2131](https://togithub.com/google/go-github/issues/2131)) - Support GitHub Advanced Security repository settings ([#2133](https://togithub.com/google/go-github/issues/2133)) - Fix API links in actions_artifacts.go ([#2141](https://togithub.com/google/go-github/issues/2141)) - Bump github.com/PuerkitoBio/goquery from 1.7.1 to 1.8.0 in /scrape ([#2193](https://togithub.com/google/go-github/issues/2193)) - Add new RemoveMilestone method on IssuesService ([#2195](https://togithub.com/google/go-github/issues/2195)) - Add RenameBranch support ([#2119](https://togithub.com/google/go-github/issues/2119)) - Add missing fields to Timeline ([#2197](https://togithub.com/google/go-github/issues/2197)) - Add method to upload Code Scanning Sarif Analysis results to GitHub ([#2165](https://togithub.com/google/go-github/issues/2165)) plus several test- or documentation-only changes. ### [`v39.2.0`](https://togithub.com/google/go-github/releases/tag/v39.2.0) [Compare Source](https://togithub.com/google/go-github/compare/v39.1.0...v39.2.0) This minor release contains the following changes: - Add support for workflow_job event's labels field ([#2103](https://togithub.com/google/go-github/issues/2103)) - Fix linters issues ([#2104](https://togithub.com/google/go-github/issues/2104)) - Add support for Packages API ([#2076](https://togithub.com/google/go-github/issues/2076)) - Fix new golangci-lint errors ([#2105](https://togithub.com/google/go-github/issues/2105)) - Bump CI version of Go to test versions 1.17.x and 1.16.x ([#2108](https://togithub.com/google/go-github/issues/2108)) - Add support for apps webhook config endpoints ([#2096](https://togithub.com/google/go-github/issues/2096)) - Add Organization to PushEvent and IssueCommentEvent ([#2116](https://togithub.com/google/go-github/issues/2116)) - Remove outdated comment for [#540](https://togithub.com/google/go-github/issues/540) ([#2117](https://togithub.com/google/go-github/issues/2117)) - Bump scrape apps to google/go-github v39 ([#2121](https://togithub.com/google/go-github/issues/2121)) - Support specifying repository names ([#2123](https://togithub.com/google/go-github/issues/2123)) - Add generate release notes support ([#2114](https://togithub.com/google/go-github/issues/2114)) ### [`v39.1.0`](https://togithub.com/google/go-github/releases/tag/v39.1.0) [Compare Source](https://togithub.com/google/go-github/compare/v39.0.0...v39.1.0) This minor release contains the following changes: - Add test cases to verify that error responses contain status code ([#2093](https://togithub.com/google/go-github/issues/2093)) - Bump codecov/codecov-action from 2.0.3 to 2.1.0 ([#2094](https://togithub.com/google/go-github/issues/2094)) - Add common Installation field to webhook events ([#2101](https://togithub.com/google/go-github/issues/2101)) - Add pagination fields to code scanning ([#2100](https://togithub.com/google/go-github/issues/2100)) - Add BranchProtectionRuleEvent ([#2102](https://togithub.com/google/go-github/issues/2102)) ### [`v39.0.0`](https://togithub.com/google/go-github/releases/tag/v39.0.0) [Compare Source](https://togithub.com/google/go-github/compare/v38.1.0...v39.0.0) This release contains the following breaking API changes: - Add List Options for ListRepositoryAccessRunnerGroup [#2086](https://togithub.com/google/go-github/issues/2086) and the following additional changes: - Update Cursor comment to reference an existing method [#2042](https://togithub.com/google/go-github/issues/2042) - Add raw_key field to GPGKey struct [#2043](https://togithub.com/google/go-github/issues/2043) - Upgrade crypto and net dependencies [#2045](https://togithub.com/google/go-github/issues/2045) - Set up workflow for golangci [#2020](https://togithub.com/google/go-github/issues/2020) - chore(ci) : cache go-build folders [#2054](https://togithub.com/google/go-github/issues/2054) - Bump styfle/cancel-workflow-action from 0.9.0 to 0.9.1 [#2049](https://togithub.com/google/go-github/issues/2049) - Fix update-urls unit tests broken by [#1875](https://togithub.com/google/go-github/issues/1875) [#2058](https://togithub.com/google/go-github/issues/2058) - Bump codecov/codecov-action from 2.0.2 to 2.0.3 [#2065](https://togithub.com/google/go-github/issues/2065) - Introduce the auto merge property [#2074](https://togithub.com/google/go-github/issues/2074) - Add support for autolinks [#2046](https://togithub.com/google/go-github/issues/2046) - Implement SCIM [#2062](https://togithub.com/google/go-github/issues/2062) - Add function for redelivering webhooks [#2061](https://togithub.com/google/go-github/issues/2061) - Add struct for workflow_job event [#2038](https://togithub.com/google/go-github/issues/2038) - Add created field to ListWorkflowRunsOptions [#2083](https://togithub.com/google/go-github/issues/2083) - Update repo community profile API [#2084](https://togithub.com/google/go-github/issues/2084) plus several test- or documentation-only changes. ### [`v38.1.0`](https://togithub.com/google/go-github/releases/tag/v38.1.0) [Compare Source](https://togithub.com/google/go-github/compare/v38.0.0...v38.1.0) This release contains the following non-breaking-API change: - Allow empty selected_repository_ids for SetSelectedReposForOrgSecret ([#2036](https://togithub.com/google/go-github/issues/2036)) and the following documentation-only change: - Fix GitHub docs links ([#2039](https://togithub.com/google/go-github/issues/2039)) ### [`v38.0.0`](https://togithub.com/google/go-github/releases/tag/v38.0.0) [Compare Source](https://togithub.com/google/go-github/compare/v37.0.0...v38.0.0) This release contains the following breaking API changes: - Add ListOptions to GetCommit and CompareCommits to support pagination ([#1960](https://togithub.com/google/go-github/issues/1960)) - Fix deprecated state/open field ([#2017](https://togithub.com/google/go-github/issues/2017)) and the following additional changes: - Add RequiredConversationResolution ProtectionRequest field ([#1959](https://togithub.com/google/go-github/issues/1959)) - Add missing CreatedAt and UpdatedAt fields to CheckSuite. ([#1983](https://togithub.com/google/go-github/issues/1983)) - Add support for listing and getting repository/organization webhook deliveries ([#1934](https://togithub.com/google/go-github/issues/1934)) - Expose event message headers, introduce a new way to read the body from an `io.Reader` ([#1955](https://togithub.com/google/go-github/issues/1955)) - Add allows_public_repositories to actions_runner_group ([#1998](https://togithub.com/google/go-github/issues/1998)) - Add methods to add and remove repos for actions on org level ([#1997](https://togithub.com/google/go-github/issues/1997)) - Add new GitHub code scanning Alert fields ([#2013](https://togithub.com/google/go-github/issues/2013)) - Add Client method ([#2016](https://togithub.com/google/go-github/issues/2016)) - Add avatar_url field to RepoStatus ([#2021](https://togithub.com/google/go-github/issues/2021)) - Add Slug field to AppConfig ([#2029](https://togithub.com/google/go-github/issues/2029)) - Add TokenExpiration to Response ([#2031](https://togithub.com/google/go-github/issues/2031)) plus the following test- or documentation-only changes: - Add test cases for JSON resource marshaling ([#1961](https://togithub.com/google/go-github/issues/1961)) - Add test cases for JSON resource marshaling ([#1965](https://togithub.com/google/go-github/issues/1965)) - Add test cases for JSON resource marshaling ([#1966](https://togithub.com/google/go-github/issues/1966)) - Add test cases for JSON resource marshaling ([#1967](https://togithub.com/google/go-github/issues/1967)) - Add test cases for JSON resource marshaling ([#1968](https://togithub.com/google/go-github/issues/1968)) - Add test cases for JSON resource marshaling ([#1969](https://togithub.com/google/go-github/issues/1969)) - Add test cases for JSON resource marshaling ([#1970](https://togithub.com/google/go-github/issues/1970)) - Add test cases for JSON resource marshaling ([#1971](https://togithub.com/google/go-github/issues/1971)) - Add test cases for JSON resource marshaling ([#1972](https://togithub.com/google/go-github/issues/1972)) - Add test cases for JSON resource marshaling ([#1973](https://togithub.com/google/go-github/issues/1973)) - Add test cases for JSON resource marshaling ([#1974](https://togithub.com/google/go-github/issues/1974)) - Add test cases for JSON resource marshaling ([#1975](https://togithub.com/google/go-github/issues/1975)) - Add test cases for JSON resource marshaling ([#1976](https://togithub.com/google/go-github/issues/1976)) - Add test cases for JSON resource marshaling ([#1977](https://togithub.com/google/go-github/issues/1977)) - Add test cases for JSON resource marshaling ([#1978](https://togithub.com/google/go-github/issues/1978)) - Add test cases for JSON resource marshaling ([#1979](https://togithub.com/google/go-github/issues/1979)) - Add test cases for JSON resource marshaling ([#1981](https://togithub.com/google/go-github/issues/1981)) - Add test cases for JSON resource marshaling ([#1982](https://togithub.com/google/go-github/issues/1982)) - Add test cases for JSON resource marshaling ([#1984](https://togithub.com/google/go-github/issues/1984)) - Add test cases for JSON resource marshaling ([#1985](https://togithub.com/google/go-github/issues/1985)) - Add test cases for JSON resource marshaling ([#1986](https://togithub.com/google/go-github/issues/1986)) - Add test cases for JSON resource marshaling ([#1987](https://togithub.com/google/go-github/issues/1987)) - Add test cases for JSON resource marshaling ([#1988](https://togithub.com/google/go-github/issues/1988)) - Add test cases for JSON resource marshaling ([#1989](https://togithub.com/google/go-github/issues/1989)) - Add test cases for JSON resource marshaling ([#1990](https://togithub.com/google/go-github/issues/1990)) - Add test cases for JSON resource marshaling ([#1991](https://togithub.com/google/go-github/issues/1991)) - Add test cases for JSON resource marshaling ([#1992](https://togithub.com/google/go-github/issues/1992)) - Add test cases for JSON resource marshaling ([#1994](https://togithub.com/google/go-github/issues/1994)) - Add test cases for JSON resource marshaling ([#2000](https://togithub.com/google/go-github/issues/2000)) - Add test cases for JSON resource marshaling ([#2001](https://togithub.com/google/go-github/issues/2001)) - Make test names consistent ([#2002](https://togithub.com/google/go-github/issues/2002)) - Add test cases for JSON resource marshaling ([#2003](https://togithub.com/google/go-github/issues/2003)) - Add test cases for JSON resource marshaling ([#2004](https://togithub.com/google/go-github/issues/2004)) - Make test names consistent ([#2005](https://togithub.com/google/go-github/issues/2005)) - Add test cases for JSON resource marshaling ([#2006](https://togithub.com/google/go-github/issues/2006)) - Add test cases for JSON resource marshaling ([#2007](https://togithub.com/google/go-github/issues/2007)) - Add test cases for JSON resource marshaling ([#2009](https://togithub.com/google/go-github/issues/2009)) - Add test cases for JSON resource marshaling ([#2010](https://togithub.com/google/go-github/issues/2010)) - Add test cases for JSON resource marshaling ([#2011](https://togithub.com/google/go-github/issues/2011)) - Update AUTHORS with recent contributors ([#2012](https://togithub.com/google/go-github/issues/2012)) - Add test cases for JSON resource marshaling ([#2014](https://togithub.com/google/go-github/issues/2014)) - Add mention to go-github-mock in README ([#2025](https://togithub.com/google/go-github/issues/2025)) - Use x crypto instead of sodium ([#2034](https://togithub.com/google/go-github/issues/2034)) ### [`v37.0.0`](https://togithub.com/google/go-github/releases/tag/v37.0.0) [Compare Source](https://togithub.com/google/go-github/compare/v36.0.0...v37.0.0) This release contains the following breaking API changes: - define struct types instead of using anonymous structs [#1900](https://togithub.com/google/go-github/issues/1900) - Modify GetBranch to handle redirects [#1901](https://togithub.com/google/go-github/issues/1901) - Fix Code Scanning Alert tool field [#1904](https://togithub.com/google/go-github/issues/1904) and the following additional changes: - Parse 'reviewed' event object 'state' property [#1886](https://togithub.com/google/go-github/issues/1886) - Add auto_merge field in PullRequest struct [#1896](https://togithub.com/google/go-github/issues/1896) - Repository Vulnerability Alert Add Missing Fields [#1898](https://togithub.com/google/go-github/issues/1898) - Enable Client.RateLimits to bypass the rate limit check [#1907](https://togithub.com/google/go-github/issues/1907) - Handle MIME parameters in Content-Type Header [#1922](https://togithub.com/google/go-github/issues/1922) - Add RequiredConversationResolution protection field [#1946](https://togithub.com/google/go-github/issues/1946) - Repository Object - Deprecated Fields [#1952](https://togithub.com/google/go-github/issues/1952) plus the following test-only changes: - Add test cases for JSON resource marshaling [#1902](https://togithub.com/google/go-github/issues/1902) - Add test cases for JSON resource marshaling [#1906](https://togithub.com/google/go-github/issues/1906) - Add test cases for JSON resource marshaling [#1908](https://togithub.com/google/go-github/issues/1908) - Add test cases for JSON resource marshaling [#1909](https://togithub.com/google/go-github/issues/1909) - Add test cases for JSON resource marshaling [#1912](https://togithub.com/google/go-github/issues/1912) - Add test cases for JSON resource marshaling [#1913](https://togithub.com/google/go-github/issues/1913) - Add test cases for JSON resource marshaling [#1914](https://togithub.com/google/go-github/issues/1914) - Add test cases for JSON resource marshaling [#1915](https://togithub.com/google/go-github/issues/1915) - Add test cases for JSON resource marshaling [#1917](https://togithub.com/google/go-github/issues/1917) - Add test cases for JSON resource marshaling [#1918](https://togithub.com/google/go-github/issues/1918) - Add test cases for JSON resource marshaling [#1919](https://togithub.com/google/go-github/issues/1919) - Add test cases for JSON resource marshaling [#1923](https://togithub.com/google/go-github/issues/1923) - Add test cases for JSON resource marshaling [#1924](https://togithub.com/google/go-github/issues/1924) - Add test cases for JSON resource marshaling [#1925](https://togithub.com/google/go-github/issues/1925) - Add test cases for JSON resource marshaling [#1926](https://togithub.com/google/go-github/issues/1926) - Add test cases for JSON resource marshaling [#1927](https://togithub.com/google/go-github/issues/1927) - Add test cases for JSON resource marshaling [#1928](https://togithub.com/google/go-github/issues/1928) - Add test cases for JSON resource marshaling [#1929](https://togithub.com/google/go-github/issues/1929) - Add test cases for JSON resource marshaling [#1930](https://togithub.com/google/go-github/issues/1930) - Add test cases for JSON resource marshaling [#1937](https://togithub.com/google/go-github/issues/1937) - Add test cases for JSON resource marshaling [#1938](https://togithub.com/google/go-github/issues/1938) - Add test for JSON marshaling for Teams [#1941](https://togithub.com/google/go-github/issues/1941) - Add test cases for JSON resource marshaling [#1951](https://togithub.com/google/go-github/issues/1951) ### [`v36.0.0`](https://togithub.com/google/go-github/releases/tag/v36.0.0) [Compare Source](https://togithub.com/google/go-github/compare/v35.3.0...v36.0.0) This release contains the following breaking API changes: - [#1883](https://togithub.com/google/go-github/issues/1883) - [#1892](https://togithub.com/google/go-github/issues/1892) and the following additional changes: - [#1884](https://togithub.com/google/go-github/issues/1884) - [#1891](https://togithub.com/google/go-github/issues/1891) - fix: typo in readme in word "parameters" https://github.com/google/go-github/commit/3c23f3ced9aa9c82995de556ac442c9e52df2fef - actions: use actions/setup-go@v2 https://github.com/google/go-github/commit/77dd0eb64ad232f78c67fd86fe4b84be887bab5b - [#1910](https://togithub.com/google/go-github/issues/1910) - [#1911](https://togithub.com/google/go-github/issues/1911)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.
This PR has been generated by Mend Renovate. View repository job log here.