google/go-github (github.com/google/go-github/v32)
### [`v57.0.0`](https://togithub.com/google/go-github/releases/tag/v57.0.0)
[Compare Source](https://togithub.com/google/go-github/compare/v56.0.0...v57.0.0)
This release contains the following breaking API change:
- Change PushEvent.Pusher type to CommitAuthor ([#2999](https://togithub.com/google/go-github/issues/2999))
...and the following additional changes:
- Bump go-github from v55 to v56 in /scrape ([#2962](https://togithub.com/google/go-github/issues/2962))
- Add support for packages IP address for APIMeta ([#2964](https://togithub.com/google/go-github/issues/2964))
- Bump github.com/google/go-cmp from 0.5.9 to 0.6.0 ([#2967](https://togithub.com/google/go-github/issues/2967))
- Move RateLimits method to a service ([#2969](https://togithub.com/google/go-github/issues/2969))
- Add nil check in ErrorResponse.Error method ([#2971](https://togithub.com/google/go-github/issues/2971))
- Lint godoc comments ([#2972](https://togithub.com/google/go-github/issues/2972))
- Add referenced workflows to WorkflowRun ([#2975](https://togithub.com/google/go-github/issues/2975))
- Use metadata to reconcile go-github with GitHub's OpenAPI descriptions ([#2919](https://togithub.com/google/go-github/issues/2919))
- Fix branch protection request fields ([#2977](https://togithub.com/google/go-github/issues/2977))
- Add dependabot alert update endpoint ([#2981](https://togithub.com/google/go-github/issues/2981))
- Bump golang.org/x/sync from 0.4.0 to 0.5.0 in /tools ([#2990](https://togithub.com/google/go-github/issues/2990))
- Deprecate RepositoriesService.List ([#2988](https://togithub.com/google/go-github/issues/2988))
- Add support for Required Workflows ([#2979](https://togithub.com/google/go-github/issues/2979))
- Implement Custom Properties ([#2986](https://togithub.com/google/go-github/issues/2986))
- Bump golang.org/x/net from 0.17.0 to 0.18.0 in /scrape ([#2991](https://togithub.com/google/go-github/issues/2991))
- Add default branch to repository edit event ([#2995](https://togithub.com/google/go-github/issues/2995))
- Add Draft to Issue type ([#2997](https://togithub.com/google/go-github/issues/2997))
- Fix secondary rate limits URL ([#3001](https://togithub.com/google/go-github/issues/3001))
- Bump golang.org/x/net from 0.18.0 to 0.19.0 in /scrape ([#3003](https://togithub.com/google/go-github/issues/3003))
- Implement global security advisories API ([#2993](https://togithub.com/google/go-github/issues/2993))
- Bump version of go-github to v57.0.0 ([#3009](https://togithub.com/google/go-github/issues/3009))
### [`v56.0.0`](https://togithub.com/google/go-github/releases/tag/v56.0.0)
[Compare Source](https://togithub.com/google/go-github/compare/v55.0.0...v56.0.0)
This release contains the following breaking API changes:
- Remove ListServiceHooks ([#2917](https://togithub.com/google/go-github/issues/2917))
- Fix SecretScanning API by switching arguments from url to json ([#2934](https://togithub.com/google/go-github/issues/2934))
- Remove openpgp and change CreateCommit signature ([#2935](https://togithub.com/google/go-github/issues/2935))
- Allow up to maxRedirects upon receiving HTTP 301 status ([#2939](https://togithub.com/google/go-github/issues/2939))
- Escape branch string before inserting it in URL ([#2948](https://togithub.com/google/go-github/issues/2948))
- Create MarkdownService, EmojisService, CodesOfConductService and MetaService ([#2937](https://togithub.com/google/go-github/issues/2937))
- Support options for GetCodeownersErrors ([#2953](https://togithub.com/google/go-github/issues/2953))
(NOTE: In particular, please play close attention to [#2948](https://togithub.com/google/go-github/issues/2948) as it may affect the code around the call.
Specifically, you may be required to remove any escaping that you perform prior to calling the modified methods.)
...and the following additional changes:
- Bump go-github from v54 to v55 in /scrape ([#2915](https://togithub.com/google/go-github/issues/2915))
- Add enterprise runner group operations ([#2891](https://togithub.com/google/go-github/issues/2891))
- Add GenerateEnterpriseJITConfig ([#2890](https://togithub.com/google/go-github/issues/2890))
- Fix linting ([#2903](https://togithub.com/google/go-github/issues/2903))
- Handle encoding value of "none" ([#2924](https://togithub.com/google/go-github/issues/2924))
- Correct NewEnterpriseClient deprecation message ([#2923](https://togithub.com/google/go-github/issues/2923))
- Fix golangci-lint timeout failures ([#2931](https://togithub.com/google/go-github/issues/2931))
- Bump golang.org/x/net from 0.14.0 to 0.15.0 in /scrape ([#2925](https://togithub.com/google/go-github/issues/2925))
- Add missing secret scanning alert fields ([#2930](https://togithub.com/google/go-github/issues/2930))
- Add development scripts ([#2928](https://togithub.com/google/go-github/issues/2928))
- Add enterprise actions permissions endpoints and reorg files ([#2920](https://togithub.com/google/go-github/issues/2920))
- Add SAML SSO audit log fields ([#2941](https://togithub.com/google/go-github/issues/2941))
- Add test for resource JSON marshaling - ActionVariable ([#2942](https://togithub.com/google/go-github/issues/2942))
- Add json marshaling tests for action usage and OIDC types ([#2944](https://togithub.com/google/go-github/issues/2944))
- Add List Installation Requests API ([#2947](https://togithub.com/google/go-github/issues/2947))
- Add support for "performed_via_github_app" and "requested_team" in IssueEvent ([#2946](https://togithub.com/google/go-github/issues/2946))
- Add "organization" field to more events ([#2949](https://togithub.com/google/go-github/issues/2949))
- Add Repository Security Advisories APIs ([#2902](https://togithub.com/google/go-github/issues/2902))
- Bump golang.org/x/net from 0.15.0 to 0.16.0 in /scrape ([#2954](https://togithub.com/google/go-github/issues/2954))
- Add prevent_self_review on repo environments ([#2951](https://togithub.com/google/go-github/issues/2951))
- Add type field to DeploymentBranchPolicy ([#2957](https://togithub.com/google/go-github/issues/2957))
- Bump golang.org/x/net from 0.16.0 to 0.17.0 in /scrape ([#2958](https://togithub.com/google/go-github/issues/2958))
- Bump golang.org/x/net from 0.10.0 to 0.17.0 in /example ([#2960](https://togithub.com/google/go-github/issues/2960))
- Bump version of go-github to v56.0.0 ([#2961](https://togithub.com/google/go-github/issues/2961))
### [`v55.0.0`](https://togithub.com/google/go-github/releases/tag/v55.0.0)
[Compare Source](https://togithub.com/google/go-github/compare/v54.0.0...v55.0.0)
This release contains the following breaking API changes:
- Add missing fields to SecurityAdvisoryEvent and rename others ([#2889](https://togithub.com/google/go-github/issues/2889))
and the following additional changes:
- Bump go-github from v53 to v54 in /scrape ([#2882](https://togithub.com/google/go-github/issues/2882))
- Add support for enable/disable private vulnerability reporting on repositories ([#2887](https://togithub.com/google/go-github/issues/2887))
- Add support for organization, repository webhook configuration ([#2885](https://togithub.com/google/go-github/issues/2885))
- Return json.Unmarshal error when importing issues deferred ([#2892](https://togithub.com/google/go-github/issues/2892))
- Remove dependency on "golang.org/x/oauth2" ([#2895](https://togithub.com/google/go-github/issues/2895))
- Add support for dependabot_alert webhook event ([#2888](https://togithub.com/google/go-github/issues/2888))
- Fix merge issue from field renaming ([#2906](https://togithub.com/google/go-github/issues/2906))
- Add missing CodeScanning endpoints ([#2900](https://togithub.com/google/go-github/issues/2900))
- Update package constructors ([#2904](https://togithub.com/google/go-github/issues/2904))
- Fix serialization of repository_names conditions object ([#2910](https://togithub.com/google/go-github/issues/2910))
- Bump actions/checkout from 3 to 4 ([#2912](https://togithub.com/google/go-github/issues/2912))
- Bump version of go-github to v55.0.0 ([#2914](https://togithub.com/google/go-github/issues/2914))
### [`v54.0.0`](https://togithub.com/google/go-github/releases/tag/v54.0.0)
[Compare Source](https://togithub.com/google/go-github/compare/v53.2.0...v54.0.0)
This release contains the following breaking API changes:
- Fix ListPullRequestsWithCommit option type ([#2822](https://togithub.com/google/go-github/issues/2822))
- Support repository_id in org ruleset conditions ([#2825](https://togithub.com/google/go-github/issues/2825))
- Fix repo rules bypass settings ([#2831](https://togithub.com/google/go-github/issues/2831))
- Fix old_name field in AuditEntry ([#2849](https://togithub.com/google/go-github/issues/2849))
and the following additional changes:
- Bump golang.org/x/net from 0.10.0 to 0.11.0 in /scrape ([#2814](https://togithub.com/google/go-github/issues/2814))
- Bump golang.org/x/oauth2 from 0.8.0 to 0.9.0 ([#2812](https://togithub.com/google/go-github/issues/2812))
- Bump github.com/google/go-github/v53 from 53.0.0 to 53.2.0 in /scrape ([#2813](https://togithub.com/google/go-github/issues/2813))
- Add Runner to generate-jitconfig method ([#2818](https://togithub.com/google/go-github/issues/2818))
- Remove unnecessary use of fmt.Sprintf ([#2819](https://togithub.com/google/go-github/issues/2819))
- Use bytes.Equal instead of bytes.Compare ([#2820](https://togithub.com/google/go-github/issues/2820))
- Fix CreateOrUpdateOrgSecret regression introduced in v53 ([#2817](https://togithub.com/google/go-github/issues/2817))
- Add Repository struct to SecretScanningAlert ([#2823](https://togithub.com/google/go-github/issues/2823))
- Add support for personal access tokens request review API ([#2827](https://togithub.com/google/go-github/issues/2827))
- Add support for personal_access_token_request webhook event type ([#2826](https://togithub.com/google/go-github/issues/2826))
- Support line comments on PRs ([#2833](https://togithub.com/google/go-github/issues/2833))
- Implement installation_target webhook event type ([#2829](https://togithub.com/google/go-github/issues/2829))
- Add secret type display to secret scanning alert ([#2834](https://togithub.com/google/go-github/issues/2834))
- Use a sentinel error when blocking paths for RepositoriesServices.GetContents ([#2837](https://togithub.com/google/go-github/issues/2837))
- Add support for SAML SSO authorization APIs ([#2835](https://togithub.com/google/go-github/issues/2835))
- Bump golang.org/x/net from 0.11.0 to 0.12.0 in /scrape ([#2839](https://togithub.com/google/go-github/issues/2839))
- Bump golang.org/x/oauth2 from 0.9.0 to 0.10.0 ([#2840](https://togithub.com/google/go-github/issues/2840))
- Add Dependabot field in security_and_analysis ([#2846](https://togithub.com/google/go-github/issues/2846))
- Add new query params for AlertListOptions ([#2848](https://togithub.com/google/go-github/issues/2848))
- Add old_name field to AuditEntry ([#2843](https://togithub.com/google/go-github/issues/2843))
- Add OldLogin field to AuditEntryData ([#2850](https://togithub.com/google/go-github/issues/2850))
- Check for nil pointer in update rule parameters ([#2854](https://togithub.com/google/go-github/issues/2854))
- Fix dropped test error ([#2858](https://togithub.com/google/go-github/issues/2858))
- Bump golang.org/x/oauth2 from 0.10.0 to 0.11.0 ([#2859](https://togithub.com/google/go-github/issues/2859))
- Bump golang.org/x/net from 0.12.0 to 0.14.0 in /scrape ([#2860](https://togithub.com/google/go-github/issues/2860))
- Add ListOptions pagination for Dependabot alerts ([#2853](https://togithub.com/google/go-github/issues/2853))
- Add support for Security Advisories Request CVE endpoint ([#2857](https://togithub.com/google/go-github/issues/2857))
- Add support for the security and analysis webhook event ([#2862](https://togithub.com/google/go-github/issues/2862))
- Add support for projects_v2 and projects_v2\_item webhook events ([#2868](https://togithub.com/google/go-github/issues/2868))
- Defer closing body before checking HTTP status code ([#2870](https://togithub.com/google/go-github/issues/2870))
- Add GetAutomatedSecurityFixes to report status ([#2842](https://togithub.com/google/go-github/issues/2842))
- Adding missing field important to find branch in fork from same owner ([#2873](https://togithub.com/google/go-github/issues/2873))
- Add WorkflowRun and Workflow to DeploymentEvent ([#2755](https://togithub.com/google/go-github/issues/2755))
- Replace deprectated crypto/ssh/terminal module in examples ([#2876](https://togithub.com/google/go-github/issues/2876))
- Update workflow to use Go 1.21 and 1.20 ([#2878](https://togithub.com/google/go-github/issues/2878))
- Add TriggeringActor to WorkflowRun ([#2879](https://togithub.com/google/go-github/issues/2879))
- Add WebhookTypes and EventForType methods ([#2865](https://togithub.com/google/go-github/issues/2865))
- Add support for fetching SBOMs ([#2869](https://togithub.com/google/go-github/issues/2869))
- Add SubmoduleGitURL to RepositoryContent ([#2880](https://togithub.com/google/go-github/issues/2880))
- Bump version of go-github to v54.0.0 ([#2881](https://togithub.com/google/go-github/issues/2881))
### [`v53.2.0`](https://togithub.com/google/go-github/releases/tag/v53.2.0)
[Compare Source](https://togithub.com/google/go-github/compare/v53.1.0...v53.2.0)
This minor release contains the following changes:
- Implement rulesets ([#2795](https://togithub.com/google/go-github/issues/2795))
- Support code scanning default setup configuration ([#2808](https://togithub.com/google/go-github/issues/2808))
- Add generate-jitconfig API for self-hosted runners ([#2801](https://togithub.com/google/go-github/issues/2801))
- Initial implementation of codespaces API ([#2803](https://togithub.com/google/go-github/issues/2803))
- Fix missing Include, Exclude fields in RulesetRefConditionParameters ([#2810](https://togithub.com/google/go-github/issues/2810))
- Bump version of go-github to v53.2.0 ([#2811](https://togithub.com/google/go-github/issues/2811))
### [`v53.1.0`](https://togithub.com/google/go-github/releases/tag/v53.1.0)
[Compare Source](https://togithub.com/google/go-github/compare/v53.0.0...v53.1.0)
This minor release contains the following changes:
- Bump go-github from v52.0.0 to v53.0.0 in /scrape ([#2800](https://togithub.com/google/go-github/issues/2800))
- Add GitHub App event security_advisory ([#2799](https://togithub.com/google/go-github/issues/2799))
- Fix auth vulnerability ([#2805](https://togithub.com/google/go-github/issues/2805))
- Bump version of go-github to v53.1.0 ([#2806](https://togithub.com/google/go-github/issues/2806))
### [`v53.0.0`](https://togithub.com/google/go-github/releases/tag/v53.0.0)
[Compare Source](https://togithub.com/google/go-github/compare/v52.0.0...v53.0.0)
This release contains the following breaking API changes:
- Update DependabotSecretsSelectedRepoIDs type to \[]int64 ([#2794](https://togithub.com/google/go-github/issues/2794))
and the following additional changes:
- Bump go-github from v51.0.0 to v52.0.0 in /scrape ([#2767](https://togithub.com/google/go-github/issues/2767))
- Bump codecov/codecov-action from 3.1.2 to 3.1.3 ([#2768](https://togithub.com/google/go-github/issues/2768))
- Change the CreateRequiredWorkflow method from PUT to POST ([#2771](https://togithub.com/google/go-github/issues/2771))
- Add Repository field to DependabotAlert ([#2772](https://togithub.com/google/go-github/issues/2772))
- Add omitempty to CreateOrgInvitationOptions fields ([#2778](https://togithub.com/google/go-github/issues/2778))
- Bump golang.org/x/net from 0.9.0 to 0.10.0 in /scrape ([#2779](https://togithub.com/google/go-github/issues/2779))
- Bump github.com/cloudflare/circl from 1.1.0 to 1.3.3 ([#2780](https://togithub.com/google/go-github/issues/2780))
- Support x-ratelimit-reset handling for secondary rate limits ([#2775](https://togithub.com/google/go-github/issues/2775))
- Support deployment protection rule event type ([#2773](https://togithub.com/google/go-github/issues/2773))
- Support array type in go generate with whitelist ([#2776](https://togithub.com/google/go-github/issues/2776))
- Bump golang.org/x/oauth2 from 0.7.0 to 0.8.0 ([#2781](https://togithub.com/google/go-github/issues/2781))
- Add test for resource JSON marshaling ([#2783](https://togithub.com/google/go-github/issues/2783))
- Bump codecov/codecov-action from 3.1.3 to 3.1.4 ([#2784](https://togithub.com/google/go-github/issues/2784))
- Add missing fields to AuditEntry ([#2786](https://togithub.com/google/go-github/issues/2786))
- Add "new_name" parameter to repo transfer request ([#2788](https://togithub.com/google/go-github/issues/2788))
- Add workflow run display title ([#2792](https://togithub.com/google/go-github/issues/2792))
- Bump version of go-github to v53.0.0 ([#2797](https://togithub.com/google/go-github/issues/2797))
### [`v52.0.0`](https://togithub.com/google/go-github/releases/tag/v52.0.0)
[Compare Source](https://togithub.com/google/go-github/compare/v51.0.0...v52.0.0)
This release contains the following breaking API changes:
- Update Create/Update methods to return the workflow ([#2759](https://togithub.com/google/go-github/issues/2759))
and the following additional changes:
- Bump go-github from 50.2.0 to 51.0.0 in /scrape ([#2740](https://togithub.com/google/go-github/issues/2740))
- Add Topics to PushEventRepository ([#2742](https://togithub.com/google/go-github/issues/2742))
- Add fields to Branch Protection endpoint ([#2744](https://togithub.com/google/go-github/issues/2744))
- Add GetTime method to Timestamp ([#2743](https://togithub.com/google/go-github/issues/2743))
- Bump golang.org/x/net from 0.8.0 to 0.9.0 in /scrape ([#2748](https://togithub.com/google/go-github/issues/2748))
- Bump golang.org/x/oauth2 from 0.6.0 to 0.7.0 ([#2747](https://togithub.com/google/go-github/issues/2747))
- Add DNS health checks support for GitHub Pages ([#2746](https://togithub.com/google/go-github/issues/2746))
- Add Owner to EditChange struct ([#2750](https://togithub.com/google/go-github/issues/2750))
- Bump codecov/codecov-action from 3.1.1 to 3.1.2 ([#2761](https://togithub.com/google/go-github/issues/2761))
- Add HeadBranch field to WorkflowJob ([#2764](https://togithub.com/google/go-github/issues/2764))
- Add requester to InstallationEvent ([#2763](https://togithub.com/google/go-github/issues/2763))
- Add InstallationsCount to App ([#2765](https://togithub.com/google/go-github/issues/2765))
- Bump version of go-github to v52.0.0 ([#2766](https://togithub.com/google/go-github/issues/2766))
### [`v51.0.0`](https://togithub.com/google/go-github/releases/tag/v51.0.0)
[Compare Source](https://togithub.com/google/go-github/compare/v50.2.0...v51.0.0)
This release contains the following breaking API changes:
- Add ListOptions to GetAdvancedSecurityActiveCommittersOrg ([#2720](https://togithub.com/google/go-github/issues/2720))
- Change PrivateRepos from int to int64 ([#2738](https://togithub.com/google/go-github/issues/2738))
and the following additional changes:
- Bump actions/setup-go from 3 to 4 ([#2713](https://togithub.com/google/go-github/issues/2713))
- Bump github.com/google/go-github/v50 from 50.1.0 to 50.2.0 in /scrape ([#2714](https://togithub.com/google/go-github/issues/2714))
- Add added_by and last_used fields to keys ([#2718](https://togithub.com/google/go-github/issues/2718))
- Add CanAdminsBypass to Environment ([#2721](https://togithub.com/google/go-github/issues/2721))
- Add download capability for workflow run attempt logs ([#2716](https://togithub.com/google/go-github/issues/2716))
- Add CanAdminsBypass to CreateUpdateEnvironment ([#2727](https://togithub.com/google/go-github/issues/2727))
- Add BuildType to GitHub Repo Pages ([#2724](https://togithub.com/google/go-github/issues/2724))
- Set authenticated user's email visibility ([#2711](https://togithub.com/google/go-github/issues/2711))
- Add support for deleting an org ([#2728](https://togithub.com/google/go-github/issues/2728))
- verify payload signature if present ([#2732](https://togithub.com/google/go-github/issues/2732))
- Implement the actions required workflows APIs ([#2730](https://togithub.com/google/go-github/issues/2730))
- Add options for listing workflow runs ([#2735](https://togithub.com/google/go-github/issues/2735))
- Bump version of go-github to v51.0.0 ([#2739](https://togithub.com/google/go-github/issues/2739))
### [`v50.2.0`](https://togithub.com/google/go-github/releases/tag/v50.2.0)
[Compare Source](https://togithub.com/google/go-github/compare/v50.1.0...v50.2.0)
This minor release contains the following interesting changes:
- Add ListExternalGroupsForTeamBySlug to Teams API ([#2674](https://togithub.com/google/go-github/issues/2674))
- Add DicussionCommentEvent Webhook ([#2678](https://togithub.com/google/go-github/issues/2678))
- Add head_sha for ListWorkflowRunsOptions ([#2703](https://togithub.com/google/go-github/issues/2703))
- Support HTTP Proxy from environment ([#2686](https://togithub.com/google/go-github/issues/2686))
- Update custom repo roles URL ([#2702](https://togithub.com/google/go-github/issues/2702))
- Move to Protonmail PGP ([#2666](https://togithub.com/google/go-github/issues/2666))
- Fix SCIM query params ([#2680](https://togithub.com/google/go-github/issues/2680))
- Add fields to update repository API and create branch protection API to match GitHub APIs ([#2709](https://togithub.com/google/go-github/issues/2709))
in addition to these more maintenance-type changes:
- Bump golang.org/x/sys from 0.0.0-20210615035016-665e8c7367d1 to 0.1.0 in /example ([#2676](https://togithub.com/google/go-github/issues/2676))
- Bump github.com/xlzd/gotp from 0.0.0-20181030022105-c8557ba2c119 to 0.1.0 in /scrape ([#2684](https://togithub.com/google/go-github/issues/2684))
- Update golangci-lint-action ([#2694](https://togithub.com/google/go-github/issues/2694))
- Bump github.com/google/go-github/v50 from 50.0.0 to 50.1.0 in /scrape ([#2683](https://togithub.com/google/go-github/issues/2683))
- Bump golang.org/x/crypto from 0.0.0-20210817164053-32db794688a5 to 0.1.0 in /example ([#2689](https://togithub.com/google/go-github/issues/2689))
- Bump golang.org/x/net from 0.0.0-20210226172049-e18ecbb05110 to 0.7.0 in /example ([#2691](https://togithub.com/google/go-github/issues/2691))
- Bump golang.org/x/net from 0.0.0-20210226172049-e18ecbb05110 to 0.7.0 ([#2692](https://togithub.com/google/go-github/issues/2692))
- Run go mod tidy -compat=1.17 ([#2696](https://togithub.com/google/go-github/issues/2696))
- Fix golangci-lint ([#2697](https://togithub.com/google/go-github/issues/2697))
- Bump golang.org/x/crypto from 0.0.0-20210817164053-32db794688a5 to 0.7.0 ([#2693](https://togithub.com/google/go-github/issues/2693))
- Bump golang.org/x/oauth2 from 0.0.0-20180821212333-d2e6202438be to 0.6.0 ([#2695](https://togithub.com/google/go-github/issues/2695))
- Remove example subdirs in GitHub Actions linter workflow ([#2701](https://togithub.com/google/go-github/issues/2701))
- Bump golang.org/x/net from 0.7.0 to 0.8.0 in /scrape ([#2698](https://togithub.com/google/go-github/issues/2698))
- Bump version of go-github to v50.2.0 ([#2710](https://togithub.com/google/go-github/issues/2710))
### [`v50.1.0`](https://togithub.com/google/go-github/releases/tag/v50.1.0)
[Compare Source](https://togithub.com/google/go-github/compare/v50.0.0...v50.1.0)
This minor release contains the following changes:
- Update scrape dependency to v50 ([#2648](https://togithub.com/google/go-github/issues/2648))
- Add secondary rate limit handling (prevent remote requests) and fix primary rate limit categories ([#2635](https://togithub.com/google/go-github/issues/2635))
- Fix parse token expiration ([#2650](https://togithub.com/google/go-github/issues/2650))
- Add support for actions variables ([#2652](https://togithub.com/google/go-github/issues/2652))
- Remove failing unit tests for Go 1.20 ([#2656](https://togithub.com/google/go-github/issues/2656))
- Add permission filter for list collaborators ([#2653](https://togithub.com/google/go-github/issues/2653))
- Update workflow to use Go 1.20 and 1.19 ([#2657](https://togithub.com/google/go-github/issues/2657))
- Add Account field to MarketplacePurchase struct ([#2659](https://togithub.com/google/go-github/issues/2659))
- Add URL, UpdateAt, and WorkflowRun fields to Artifacts ([#2660](https://togithub.com/google/go-github/issues/2660))
- Add milestone field to IssuesEvent ([#2663](https://togithub.com/google/go-github/issues/2663))
- Add go generate mention to CONTRIBUTING.md ([#2587](https://togithub.com/google/go-github/issues/2587))
- Add RequestedTeam to issues Timeline type ([#2665](https://togithub.com/google/go-github/issues/2665))
- Bump github.com/PuerkitoBio/goquery from 1.8.0 to 1.8.1 in /scrape ([#2667](https://togithub.com/google/go-github/issues/2667))
- Add Permission, OldPermission to AuditEntry type ([#2670](https://togithub.com/google/go-github/issues/2670))
- Add created_at to WorkflowJob struct ([#2671](https://togithub.com/google/go-github/issues/2671))
- Bump version of go-github to v50.1.0 ([#2673](https://togithub.com/google/go-github/issues/2673))
### [`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 i
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:
v32.1.0
->v57.0.0
Release Notes
google/go-github (github.com/google/go-github/v32)
### [`v57.0.0`](https://togithub.com/google/go-github/releases/tag/v57.0.0) [Compare Source](https://togithub.com/google/go-github/compare/v56.0.0...v57.0.0) This release contains the following breaking API change: - Change PushEvent.Pusher type to CommitAuthor ([#2999](https://togithub.com/google/go-github/issues/2999)) ...and the following additional changes: - Bump go-github from v55 to v56 in /scrape ([#2962](https://togithub.com/google/go-github/issues/2962)) - Add support for packages IP address for APIMeta ([#2964](https://togithub.com/google/go-github/issues/2964)) - Bump github.com/google/go-cmp from 0.5.9 to 0.6.0 ([#2967](https://togithub.com/google/go-github/issues/2967)) - Move RateLimits method to a service ([#2969](https://togithub.com/google/go-github/issues/2969)) - Add nil check in ErrorResponse.Error method ([#2971](https://togithub.com/google/go-github/issues/2971)) - Lint godoc comments ([#2972](https://togithub.com/google/go-github/issues/2972)) - Add referenced workflows to WorkflowRun ([#2975](https://togithub.com/google/go-github/issues/2975)) - Use metadata to reconcile go-github with GitHub's OpenAPI descriptions ([#2919](https://togithub.com/google/go-github/issues/2919)) - Fix branch protection request fields ([#2977](https://togithub.com/google/go-github/issues/2977)) - Add dependabot alert update endpoint ([#2981](https://togithub.com/google/go-github/issues/2981)) - Bump golang.org/x/sync from 0.4.0 to 0.5.0 in /tools ([#2990](https://togithub.com/google/go-github/issues/2990)) - Deprecate RepositoriesService.List ([#2988](https://togithub.com/google/go-github/issues/2988)) - Add support for Required Workflows ([#2979](https://togithub.com/google/go-github/issues/2979)) - Implement Custom Properties ([#2986](https://togithub.com/google/go-github/issues/2986)) - Bump golang.org/x/net from 0.17.0 to 0.18.0 in /scrape ([#2991](https://togithub.com/google/go-github/issues/2991)) - Add default branch to repository edit event ([#2995](https://togithub.com/google/go-github/issues/2995)) - Add Draft to Issue type ([#2997](https://togithub.com/google/go-github/issues/2997)) - Fix secondary rate limits URL ([#3001](https://togithub.com/google/go-github/issues/3001)) - Bump golang.org/x/net from 0.18.0 to 0.19.0 in /scrape ([#3003](https://togithub.com/google/go-github/issues/3003)) - Implement global security advisories API ([#2993](https://togithub.com/google/go-github/issues/2993)) - Bump version of go-github to v57.0.0 ([#3009](https://togithub.com/google/go-github/issues/3009)) ### [`v56.0.0`](https://togithub.com/google/go-github/releases/tag/v56.0.0) [Compare Source](https://togithub.com/google/go-github/compare/v55.0.0...v56.0.0) This release contains the following breaking API changes: - Remove ListServiceHooks ([#2917](https://togithub.com/google/go-github/issues/2917)) - Fix SecretScanning API by switching arguments from url to json ([#2934](https://togithub.com/google/go-github/issues/2934)) - Remove openpgp and change CreateCommit signature ([#2935](https://togithub.com/google/go-github/issues/2935)) - Allow up to maxRedirects upon receiving HTTP 301 status ([#2939](https://togithub.com/google/go-github/issues/2939)) - Escape branch string before inserting it in URL ([#2948](https://togithub.com/google/go-github/issues/2948)) - Create MarkdownService, EmojisService, CodesOfConductService and MetaService ([#2937](https://togithub.com/google/go-github/issues/2937)) - Support options for GetCodeownersErrors ([#2953](https://togithub.com/google/go-github/issues/2953)) (NOTE: In particular, please play close attention to [#2948](https://togithub.com/google/go-github/issues/2948) as it may affect the code around the call. Specifically, you may be required to remove any escaping that you perform prior to calling the modified methods.) ...and the following additional changes: - Bump go-github from v54 to v55 in /scrape ([#2915](https://togithub.com/google/go-github/issues/2915)) - Add enterprise runner group operations ([#2891](https://togithub.com/google/go-github/issues/2891)) - Add GenerateEnterpriseJITConfig ([#2890](https://togithub.com/google/go-github/issues/2890)) - Fix linting ([#2903](https://togithub.com/google/go-github/issues/2903)) - Handle encoding value of "none" ([#2924](https://togithub.com/google/go-github/issues/2924)) - Correct NewEnterpriseClient deprecation message ([#2923](https://togithub.com/google/go-github/issues/2923)) - Fix golangci-lint timeout failures ([#2931](https://togithub.com/google/go-github/issues/2931)) - Bump golang.org/x/net from 0.14.0 to 0.15.0 in /scrape ([#2925](https://togithub.com/google/go-github/issues/2925)) - Add missing secret scanning alert fields ([#2930](https://togithub.com/google/go-github/issues/2930)) - Add development scripts ([#2928](https://togithub.com/google/go-github/issues/2928)) - Add enterprise actions permissions endpoints and reorg files ([#2920](https://togithub.com/google/go-github/issues/2920)) - Add SAML SSO audit log fields ([#2941](https://togithub.com/google/go-github/issues/2941)) - Add test for resource JSON marshaling - ActionVariable ([#2942](https://togithub.com/google/go-github/issues/2942)) - Add json marshaling tests for action usage and OIDC types ([#2944](https://togithub.com/google/go-github/issues/2944)) - Add List Installation Requests API ([#2947](https://togithub.com/google/go-github/issues/2947)) - Add support for "performed_via_github_app" and "requested_team" in IssueEvent ([#2946](https://togithub.com/google/go-github/issues/2946)) - Add "organization" field to more events ([#2949](https://togithub.com/google/go-github/issues/2949)) - Add Repository Security Advisories APIs ([#2902](https://togithub.com/google/go-github/issues/2902)) - Bump golang.org/x/net from 0.15.0 to 0.16.0 in /scrape ([#2954](https://togithub.com/google/go-github/issues/2954)) - Add prevent_self_review on repo environments ([#2951](https://togithub.com/google/go-github/issues/2951)) - Add type field to DeploymentBranchPolicy ([#2957](https://togithub.com/google/go-github/issues/2957)) - Bump golang.org/x/net from 0.16.0 to 0.17.0 in /scrape ([#2958](https://togithub.com/google/go-github/issues/2958)) - Bump golang.org/x/net from 0.10.0 to 0.17.0 in /example ([#2960](https://togithub.com/google/go-github/issues/2960)) - Bump version of go-github to v56.0.0 ([#2961](https://togithub.com/google/go-github/issues/2961)) ### [`v55.0.0`](https://togithub.com/google/go-github/releases/tag/v55.0.0) [Compare Source](https://togithub.com/google/go-github/compare/v54.0.0...v55.0.0) This release contains the following breaking API changes: - Add missing fields to SecurityAdvisoryEvent and rename others ([#2889](https://togithub.com/google/go-github/issues/2889)) and the following additional changes: - Bump go-github from v53 to v54 in /scrape ([#2882](https://togithub.com/google/go-github/issues/2882)) - Add support for enable/disable private vulnerability reporting on repositories ([#2887](https://togithub.com/google/go-github/issues/2887)) - Add support for organization, repository webhook configuration ([#2885](https://togithub.com/google/go-github/issues/2885)) - Return json.Unmarshal error when importing issues deferred ([#2892](https://togithub.com/google/go-github/issues/2892)) - Remove dependency on "golang.org/x/oauth2" ([#2895](https://togithub.com/google/go-github/issues/2895)) - Add support for dependabot_alert webhook event ([#2888](https://togithub.com/google/go-github/issues/2888)) - Fix merge issue from field renaming ([#2906](https://togithub.com/google/go-github/issues/2906)) - Add missing CodeScanning endpoints ([#2900](https://togithub.com/google/go-github/issues/2900)) - Update package constructors ([#2904](https://togithub.com/google/go-github/issues/2904)) - Fix serialization of repository_names conditions object ([#2910](https://togithub.com/google/go-github/issues/2910)) - Bump actions/checkout from 3 to 4 ([#2912](https://togithub.com/google/go-github/issues/2912)) - Bump version of go-github to v55.0.0 ([#2914](https://togithub.com/google/go-github/issues/2914)) ### [`v54.0.0`](https://togithub.com/google/go-github/releases/tag/v54.0.0) [Compare Source](https://togithub.com/google/go-github/compare/v53.2.0...v54.0.0) This release contains the following breaking API changes: - Fix ListPullRequestsWithCommit option type ([#2822](https://togithub.com/google/go-github/issues/2822)) - Support repository_id in org ruleset conditions ([#2825](https://togithub.com/google/go-github/issues/2825)) - Fix repo rules bypass settings ([#2831](https://togithub.com/google/go-github/issues/2831)) - Fix old_name field in AuditEntry ([#2849](https://togithub.com/google/go-github/issues/2849)) and the following additional changes: - Bump golang.org/x/net from 0.10.0 to 0.11.0 in /scrape ([#2814](https://togithub.com/google/go-github/issues/2814)) - Bump golang.org/x/oauth2 from 0.8.0 to 0.9.0 ([#2812](https://togithub.com/google/go-github/issues/2812)) - Bump github.com/google/go-github/v53 from 53.0.0 to 53.2.0 in /scrape ([#2813](https://togithub.com/google/go-github/issues/2813)) - Add Runner to generate-jitconfig method ([#2818](https://togithub.com/google/go-github/issues/2818)) - Remove unnecessary use of fmt.Sprintf ([#2819](https://togithub.com/google/go-github/issues/2819)) - Use bytes.Equal instead of bytes.Compare ([#2820](https://togithub.com/google/go-github/issues/2820)) - Fix CreateOrUpdateOrgSecret regression introduced in v53 ([#2817](https://togithub.com/google/go-github/issues/2817)) - Add Repository struct to SecretScanningAlert ([#2823](https://togithub.com/google/go-github/issues/2823)) - Add support for personal access tokens request review API ([#2827](https://togithub.com/google/go-github/issues/2827)) - Add support for personal_access_token_request webhook event type ([#2826](https://togithub.com/google/go-github/issues/2826)) - Support line comments on PRs ([#2833](https://togithub.com/google/go-github/issues/2833)) - Implement installation_target webhook event type ([#2829](https://togithub.com/google/go-github/issues/2829)) - Add secret type display to secret scanning alert ([#2834](https://togithub.com/google/go-github/issues/2834)) - Use a sentinel error when blocking paths for RepositoriesServices.GetContents ([#2837](https://togithub.com/google/go-github/issues/2837)) - Add support for SAML SSO authorization APIs ([#2835](https://togithub.com/google/go-github/issues/2835)) - Bump golang.org/x/net from 0.11.0 to 0.12.0 in /scrape ([#2839](https://togithub.com/google/go-github/issues/2839)) - Bump golang.org/x/oauth2 from 0.9.0 to 0.10.0 ([#2840](https://togithub.com/google/go-github/issues/2840)) - Add Dependabot field in security_and_analysis ([#2846](https://togithub.com/google/go-github/issues/2846)) - Add new query params for AlertListOptions ([#2848](https://togithub.com/google/go-github/issues/2848)) - Add old_name field to AuditEntry ([#2843](https://togithub.com/google/go-github/issues/2843)) - Add OldLogin field to AuditEntryData ([#2850](https://togithub.com/google/go-github/issues/2850)) - Check for nil pointer in update rule parameters ([#2854](https://togithub.com/google/go-github/issues/2854)) - Fix dropped test error ([#2858](https://togithub.com/google/go-github/issues/2858)) - Bump golang.org/x/oauth2 from 0.10.0 to 0.11.0 ([#2859](https://togithub.com/google/go-github/issues/2859)) - Bump golang.org/x/net from 0.12.0 to 0.14.0 in /scrape ([#2860](https://togithub.com/google/go-github/issues/2860)) - Add ListOptions pagination for Dependabot alerts ([#2853](https://togithub.com/google/go-github/issues/2853)) - Add support for Security Advisories Request CVE endpoint ([#2857](https://togithub.com/google/go-github/issues/2857)) - Add support for the security and analysis webhook event ([#2862](https://togithub.com/google/go-github/issues/2862)) - Add support for projects_v2 and projects_v2\_item webhook events ([#2868](https://togithub.com/google/go-github/issues/2868)) - Defer closing body before checking HTTP status code ([#2870](https://togithub.com/google/go-github/issues/2870)) - Add GetAutomatedSecurityFixes to report status ([#2842](https://togithub.com/google/go-github/issues/2842)) - Adding missing field important to find branch in fork from same owner ([#2873](https://togithub.com/google/go-github/issues/2873)) - Add WorkflowRun and Workflow to DeploymentEvent ([#2755](https://togithub.com/google/go-github/issues/2755)) - Replace deprectated crypto/ssh/terminal module in examples ([#2876](https://togithub.com/google/go-github/issues/2876)) - Update workflow to use Go 1.21 and 1.20 ([#2878](https://togithub.com/google/go-github/issues/2878)) - Add TriggeringActor to WorkflowRun ([#2879](https://togithub.com/google/go-github/issues/2879)) - Add WebhookTypes and EventForType methods ([#2865](https://togithub.com/google/go-github/issues/2865)) - Add support for fetching SBOMs ([#2869](https://togithub.com/google/go-github/issues/2869)) - Add SubmoduleGitURL to RepositoryContent ([#2880](https://togithub.com/google/go-github/issues/2880)) - Bump version of go-github to v54.0.0 ([#2881](https://togithub.com/google/go-github/issues/2881)) ### [`v53.2.0`](https://togithub.com/google/go-github/releases/tag/v53.2.0) [Compare Source](https://togithub.com/google/go-github/compare/v53.1.0...v53.2.0) This minor release contains the following changes: - Implement rulesets ([#2795](https://togithub.com/google/go-github/issues/2795)) - Support code scanning default setup configuration ([#2808](https://togithub.com/google/go-github/issues/2808)) - Add generate-jitconfig API for self-hosted runners ([#2801](https://togithub.com/google/go-github/issues/2801)) - Initial implementation of codespaces API ([#2803](https://togithub.com/google/go-github/issues/2803)) - Fix missing Include, Exclude fields in RulesetRefConditionParameters ([#2810](https://togithub.com/google/go-github/issues/2810)) - Bump version of go-github to v53.2.0 ([#2811](https://togithub.com/google/go-github/issues/2811)) ### [`v53.1.0`](https://togithub.com/google/go-github/releases/tag/v53.1.0) [Compare Source](https://togithub.com/google/go-github/compare/v53.0.0...v53.1.0) This minor release contains the following changes: - Bump go-github from v52.0.0 to v53.0.0 in /scrape ([#2800](https://togithub.com/google/go-github/issues/2800)) - Add GitHub App event security_advisory ([#2799](https://togithub.com/google/go-github/issues/2799)) - Fix auth vulnerability ([#2805](https://togithub.com/google/go-github/issues/2805)) - Bump version of go-github to v53.1.0 ([#2806](https://togithub.com/google/go-github/issues/2806)) ### [`v53.0.0`](https://togithub.com/google/go-github/releases/tag/v53.0.0) [Compare Source](https://togithub.com/google/go-github/compare/v52.0.0...v53.0.0) This release contains the following breaking API changes: - Update DependabotSecretsSelectedRepoIDs type to \[]int64 ([#2794](https://togithub.com/google/go-github/issues/2794)) and the following additional changes: - Bump go-github from v51.0.0 to v52.0.0 in /scrape ([#2767](https://togithub.com/google/go-github/issues/2767)) - Bump codecov/codecov-action from 3.1.2 to 3.1.3 ([#2768](https://togithub.com/google/go-github/issues/2768)) - Change the CreateRequiredWorkflow method from PUT to POST ([#2771](https://togithub.com/google/go-github/issues/2771)) - Add Repository field to DependabotAlert ([#2772](https://togithub.com/google/go-github/issues/2772)) - Add omitempty to CreateOrgInvitationOptions fields ([#2778](https://togithub.com/google/go-github/issues/2778)) - Bump golang.org/x/net from 0.9.0 to 0.10.0 in /scrape ([#2779](https://togithub.com/google/go-github/issues/2779)) - Bump github.com/cloudflare/circl from 1.1.0 to 1.3.3 ([#2780](https://togithub.com/google/go-github/issues/2780)) - Support x-ratelimit-reset handling for secondary rate limits ([#2775](https://togithub.com/google/go-github/issues/2775)) - Support deployment protection rule event type ([#2773](https://togithub.com/google/go-github/issues/2773)) - Support array type in go generate with whitelist ([#2776](https://togithub.com/google/go-github/issues/2776)) - Bump golang.org/x/oauth2 from 0.7.0 to 0.8.0 ([#2781](https://togithub.com/google/go-github/issues/2781)) - Add test for resource JSON marshaling ([#2783](https://togithub.com/google/go-github/issues/2783)) - Bump codecov/codecov-action from 3.1.3 to 3.1.4 ([#2784](https://togithub.com/google/go-github/issues/2784)) - Add missing fields to AuditEntry ([#2786](https://togithub.com/google/go-github/issues/2786)) - Add "new_name" parameter to repo transfer request ([#2788](https://togithub.com/google/go-github/issues/2788)) - Add workflow run display title ([#2792](https://togithub.com/google/go-github/issues/2792)) - Bump version of go-github to v53.0.0 ([#2797](https://togithub.com/google/go-github/issues/2797)) ### [`v52.0.0`](https://togithub.com/google/go-github/releases/tag/v52.0.0) [Compare Source](https://togithub.com/google/go-github/compare/v51.0.0...v52.0.0) This release contains the following breaking API changes: - Update Create/Update methods to return the workflow ([#2759](https://togithub.com/google/go-github/issues/2759)) and the following additional changes: - Bump go-github from 50.2.0 to 51.0.0 in /scrape ([#2740](https://togithub.com/google/go-github/issues/2740)) - Add Topics to PushEventRepository ([#2742](https://togithub.com/google/go-github/issues/2742)) - Add fields to Branch Protection endpoint ([#2744](https://togithub.com/google/go-github/issues/2744)) - Add GetTime method to Timestamp ([#2743](https://togithub.com/google/go-github/issues/2743)) - Bump golang.org/x/net from 0.8.0 to 0.9.0 in /scrape ([#2748](https://togithub.com/google/go-github/issues/2748)) - Bump golang.org/x/oauth2 from 0.6.0 to 0.7.0 ([#2747](https://togithub.com/google/go-github/issues/2747)) - Add DNS health checks support for GitHub Pages ([#2746](https://togithub.com/google/go-github/issues/2746)) - Add Owner to EditChange struct ([#2750](https://togithub.com/google/go-github/issues/2750)) - Bump codecov/codecov-action from 3.1.1 to 3.1.2 ([#2761](https://togithub.com/google/go-github/issues/2761)) - Add HeadBranch field to WorkflowJob ([#2764](https://togithub.com/google/go-github/issues/2764)) - Add requester to InstallationEvent ([#2763](https://togithub.com/google/go-github/issues/2763)) - Add InstallationsCount to App ([#2765](https://togithub.com/google/go-github/issues/2765)) - Bump version of go-github to v52.0.0 ([#2766](https://togithub.com/google/go-github/issues/2766)) ### [`v51.0.0`](https://togithub.com/google/go-github/releases/tag/v51.0.0) [Compare Source](https://togithub.com/google/go-github/compare/v50.2.0...v51.0.0) This release contains the following breaking API changes: - Add ListOptions to GetAdvancedSecurityActiveCommittersOrg ([#2720](https://togithub.com/google/go-github/issues/2720)) - Change PrivateRepos from int to int64 ([#2738](https://togithub.com/google/go-github/issues/2738)) and the following additional changes: - Bump actions/setup-go from 3 to 4 ([#2713](https://togithub.com/google/go-github/issues/2713)) - Bump github.com/google/go-github/v50 from 50.1.0 to 50.2.0 in /scrape ([#2714](https://togithub.com/google/go-github/issues/2714)) - Add added_by and last_used fields to keys ([#2718](https://togithub.com/google/go-github/issues/2718)) - Add CanAdminsBypass to Environment ([#2721](https://togithub.com/google/go-github/issues/2721)) - Add download capability for workflow run attempt logs ([#2716](https://togithub.com/google/go-github/issues/2716)) - Add CanAdminsBypass to CreateUpdateEnvironment ([#2727](https://togithub.com/google/go-github/issues/2727)) - Add BuildType to GitHub Repo Pages ([#2724](https://togithub.com/google/go-github/issues/2724)) - Set authenticated user's email visibility ([#2711](https://togithub.com/google/go-github/issues/2711)) - Add support for deleting an org ([#2728](https://togithub.com/google/go-github/issues/2728)) - verify payload signature if present ([#2732](https://togithub.com/google/go-github/issues/2732)) - Implement the actions required workflows APIs ([#2730](https://togithub.com/google/go-github/issues/2730)) - Add options for listing workflow runs ([#2735](https://togithub.com/google/go-github/issues/2735)) - Bump version of go-github to v51.0.0 ([#2739](https://togithub.com/google/go-github/issues/2739)) ### [`v50.2.0`](https://togithub.com/google/go-github/releases/tag/v50.2.0) [Compare Source](https://togithub.com/google/go-github/compare/v50.1.0...v50.2.0) This minor release contains the following interesting changes: - Add ListExternalGroupsForTeamBySlug to Teams API ([#2674](https://togithub.com/google/go-github/issues/2674)) - Add DicussionCommentEvent Webhook ([#2678](https://togithub.com/google/go-github/issues/2678)) - Add head_sha for ListWorkflowRunsOptions ([#2703](https://togithub.com/google/go-github/issues/2703)) - Support HTTP Proxy from environment ([#2686](https://togithub.com/google/go-github/issues/2686)) - Update custom repo roles URL ([#2702](https://togithub.com/google/go-github/issues/2702)) - Move to Protonmail PGP ([#2666](https://togithub.com/google/go-github/issues/2666)) - Fix SCIM query params ([#2680](https://togithub.com/google/go-github/issues/2680)) - Add fields to update repository API and create branch protection API to match GitHub APIs ([#2709](https://togithub.com/google/go-github/issues/2709)) in addition to these more maintenance-type changes: - Bump golang.org/x/sys from 0.0.0-20210615035016-665e8c7367d1 to 0.1.0 in /example ([#2676](https://togithub.com/google/go-github/issues/2676)) - Bump github.com/xlzd/gotp from 0.0.0-20181030022105-c8557ba2c119 to 0.1.0 in /scrape ([#2684](https://togithub.com/google/go-github/issues/2684)) - Update golangci-lint-action ([#2694](https://togithub.com/google/go-github/issues/2694)) - Bump github.com/google/go-github/v50 from 50.0.0 to 50.1.0 in /scrape ([#2683](https://togithub.com/google/go-github/issues/2683)) - Bump golang.org/x/crypto from 0.0.0-20210817164053-32db794688a5 to 0.1.0 in /example ([#2689](https://togithub.com/google/go-github/issues/2689)) - Bump golang.org/x/net from 0.0.0-20210226172049-e18ecbb05110 to 0.7.0 in /example ([#2691](https://togithub.com/google/go-github/issues/2691)) - Bump golang.org/x/net from 0.0.0-20210226172049-e18ecbb05110 to 0.7.0 ([#2692](https://togithub.com/google/go-github/issues/2692)) - Run go mod tidy -compat=1.17 ([#2696](https://togithub.com/google/go-github/issues/2696)) - Fix golangci-lint ([#2697](https://togithub.com/google/go-github/issues/2697)) - Bump golang.org/x/crypto from 0.0.0-20210817164053-32db794688a5 to 0.7.0 ([#2693](https://togithub.com/google/go-github/issues/2693)) - Bump golang.org/x/oauth2 from 0.0.0-20180821212333-d2e6202438be to 0.6.0 ([#2695](https://togithub.com/google/go-github/issues/2695)) - Remove example subdirs in GitHub Actions linter workflow ([#2701](https://togithub.com/google/go-github/issues/2701)) - Bump golang.org/x/net from 0.7.0 to 0.8.0 in /scrape ([#2698](https://togithub.com/google/go-github/issues/2698)) - Bump version of go-github to v50.2.0 ([#2710](https://togithub.com/google/go-github/issues/2710)) ### [`v50.1.0`](https://togithub.com/google/go-github/releases/tag/v50.1.0) [Compare Source](https://togithub.com/google/go-github/compare/v50.0.0...v50.1.0) This minor release contains the following changes: - Update scrape dependency to v50 ([#2648](https://togithub.com/google/go-github/issues/2648)) - Add secondary rate limit handling (prevent remote requests) and fix primary rate limit categories ([#2635](https://togithub.com/google/go-github/issues/2635)) - Fix parse token expiration ([#2650](https://togithub.com/google/go-github/issues/2650)) - Add support for actions variables ([#2652](https://togithub.com/google/go-github/issues/2652)) - Remove failing unit tests for Go 1.20 ([#2656](https://togithub.com/google/go-github/issues/2656)) - Add permission filter for list collaborators ([#2653](https://togithub.com/google/go-github/issues/2653)) - Update workflow to use Go 1.20 and 1.19 ([#2657](https://togithub.com/google/go-github/issues/2657)) - Add Account field to MarketplacePurchase struct ([#2659](https://togithub.com/google/go-github/issues/2659)) - Add URL, UpdateAt, and WorkflowRun fields to Artifacts ([#2660](https://togithub.com/google/go-github/issues/2660)) - Add milestone field to IssuesEvent ([#2663](https://togithub.com/google/go-github/issues/2663)) - Add go generate mention to CONTRIBUTING.md ([#2587](https://togithub.com/google/go-github/issues/2587)) - Add RequestedTeam to issues Timeline type ([#2665](https://togithub.com/google/go-github/issues/2665)) - Bump github.com/PuerkitoBio/goquery from 1.8.0 to 1.8.1 in /scrape ([#2667](https://togithub.com/google/go-github/issues/2667)) - Add Permission, OldPermission to AuditEntry type ([#2670](https://togithub.com/google/go-github/issues/2670)) - Add created_at to WorkflowJob struct ([#2671](https://togithub.com/google/go-github/issues/2671)) - Bump version of go-github to v50.1.0 ([#2673](https://togithub.com/google/go-github/issues/2673)) ### [`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 iConfiguration
📅 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.