Skip to content

[pull] master from google:master #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1,112 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
1112 commits
Select commit Hold shift + click to select a range
90bf432
Add Organization PAT fields to InstallationPermissions struct (#3243)
hi120ki Aug 21, 2024
882755a
feat: Add do_not_enforce_on_create to required status checks rule par…
MattMencel Aug 22, 2024
da7d014
feat!: Fix meta service domains schema structure (#3249)
lrstanley Aug 26, 2024
039fefd
feat!: Fix broken SCIMService.ProvisionAndInviteSCIMUser method (#3239)
rezmoss Aug 26, 2024
c96ef95
Add Source field to RulesetRepositoryPropertyTargetParameters (#3250)
rezmoss Aug 26, 2024
00caddc
feat!: Add merge queue parameters to repository ruleset (#3253)
zepeng811 Sep 3, 2024
bd3e889
Update active committers struct (#3257)
ganeshkumarsv Sep 5, 2024
a1e9d75
Bump golang.org/x/net from 0.28.0 to 0.29.0 in /scrape (#3259)
dependabot[bot] Sep 9, 2024
662da6f
Add type SponsorshipEvent (#3258)
DiegoDev2 Sep 10, 2024
080468c
Bump version of go-github to v65.0.0 (#3266)
gmlewis Sep 16, 2024
4d12932
Bump go-github from v64 to v65 in /scrape (#3267)
gmlewis Sep 16, 2024
603bc4a
Bump github.com/alecthomas/kong from 0.9.0 to 1.2.1 in /tools (#3268)
dependabot[bot] Sep 16, 2024
057ff1b
Add 'mark thread as done' functionality (#3265)
danhcole Sep 17, 2024
ef170a3
feat!: Add login query param support to ListCredentialAuthorizations …
zeusdeux Sep 19, 2024
2359251
Update comment for Ruleset (#3275)
gmlewis Sep 20, 2024
ba86215
Add missing fields to the checksuite event (#3278)
prnvbn Sep 21, 2024
46f1127
chore: Change golangci-lint output format due to deprecation (#3279)
felixlut Sep 21, 2024
63c97e6
feat: Support baseRole option for custom organization roles (#3284)
felixlut Sep 22, 2024
00f8dd3
Update AUTHORS (#3286)
gmlewis Sep 22, 2024
c0f5841
feat: Support getting an organization role (#3285)
felixlut Sep 23, 2024
eda7049
feat: Implement organization role assignments for both users and team…
felixlut Sep 23, 2024
7fbf488
chore: Enable gosec G602 rule (#3287)
alexandear Sep 24, 2024
2406067
fix: Correct typos in vars, comments, tests (#3289)
alexandear Sep 24, 2024
eafd379
fix: Avoid allocation in the stringifyValue (#3292)
alexandear Sep 26, 2024
dea28a3
Add CancelInvite method to cancel an org invitation by ID (#3263)
DocEmmetBrown Sep 26, 2024
3d410c2
Add support DeploymentReview Event, ReviewCustomDeploymentProtectionR…
air-hand Sep 26, 2024
8faa07c
refactor: Simplify temp file creation in tests (#3290)
alexandear Oct 1, 2024
cd59fac
refactor: Refactor org_custom_roles.go into multiple files (#3291)
felixlut Oct 1, 2024
0024ad2
feat: Implement missing push rules (#3294)
srgustafson8 Oct 1, 2024
e56d378
refactor: Do not call teardown manually in tests (#3296)
gmlewis Oct 1, 2024
54eecb8
docs: Replace godoc.org with pkg.go.dev (#3301)
alexandear Oct 3, 2024
c0f593d
refactor: Remove redundant local vars in examples (#3303)
alexandear Oct 3, 2024
7824d70
fix: Add missing NotificationSetting to newTeamNoParent (#3302)
alexandear Oct 4, 2024
4fcbdf8
docs: Improve formatting in README (#3300)
alexandear Oct 4, 2024
522c3ee
docs: Fix typo in test comment (#3307)
alexandear Oct 5, 2024
dc884c2
Add t.Parallel to unit tests (#3297)
gmlewis Oct 5, 2024
29b756d
fix: Allow removing/unsetting repository custom property (#3309)
felixlut Oct 6, 2024
057b1d7
Bump version of go-github to v66.0.0 (#3310)
gmlewis Oct 6, 2024
398aca0
Bump go-github from v65 to v66 in /scrape (#3311)
gmlewis Oct 6, 2024
bc36e73
build(deps): bump golang.org/x/net from 0.29.0 to 0.30.0 in /scrape (…
dependabot[bot] Oct 7, 2024
11e4984
build(deps): bump codecov/codecov-action from 4.5.0 to 4.6.0 (#3312)
dependabot[bot] Oct 7, 2024
06f85a4
build(deps): bump github.com/getkin/kin-openapi from 0.127.0 to 0.128…
dependabot[bot] Oct 7, 2024
139eec8
refactor: Remove unneeded strings.Join calls (#3317)
alexandear Oct 8, 2024
13afa20
feat: Add CreatedAt and UpdatedAt to Ruleset (#3316)
ivanmartos Oct 8, 2024
62b5d75
feat: Add Expired to RepositoryInvitation (#3320)
milescrabill Oct 10, 2024
02f3199
Update openapi_operations.yaml (#3322)
gmlewis Oct 10, 2024
4cfd6bd
refactor: Enable perfsprint; fix appeared lint issues (#3324)
alexandear Oct 11, 2024
0259e62
refactor: Replace 'println' with 'fmt.Println' (#3326)
alexandear Oct 11, 2024
1ffcddb
docs: Add dots at the end of sentences (#3325)
alexandear Oct 11, 2024
7cd6886
scrape: refactor tests with t.Fatal (#3299)
alexandear Oct 14, 2024
b1615cb
feat: Support Code Security Configurations API (#3319)
maditya Oct 14, 2024
5e806b6
Add Copilot Usage Summary for Organization (#3321)
claystation Oct 14, 2024
8fbbcf8
chore: Remove deprecated build constraints (#3306)
alexandear Oct 14, 2024
8ea16b9
refactor: Replace 'print' with 'fmt.Print' (#3327)
alexandear Oct 14, 2024
b93ab91
Add Webhook for Repository ruleset (#3305)
unamdev0 Oct 16, 2024
8c273e1
feat: Add support for code_scanning (#3256)
ihor-hrytskiv Oct 17, 2024
9412ac2
docs: put a space between `//` and comment text (#3329)
alexandear Oct 18, 2024
cc9a0ed
feat!: Add name query parameter to ActionsService.ListArtifacts (#3330)
gmlewis Oct 21, 2024
792bd15
feat!: Rename code scanning params from plural to singular (#3331)
ihor-hrytskiv Oct 22, 2024
08cca48
Add support for fetching artifact attestations at the org, repo and u…
gillisandrew Oct 27, 2024
a812798
Add BranchProtectionConfigurationEvent and SecretScanningAlertLocatio…
maditya Oct 27, 2024
9f20524
feat!: Fix `source` property on Repo Custom Properties (#3333)
claystation Oct 27, 2024
5439fdf
build(deps): bump github.com/theupdateframework/go-tuf/v2 from 2.0.0 …
dependabot[bot] Oct 27, 2024
9e5757d
Allow RemoveReviewers to remove only teams (#3337)
nagl-resourcely Oct 27, 2024
68432f2
build(deps): bump github.com/alecthomas/kong from 1.2.1 to 1.3.0 in /…
dependabot[bot] Nov 4, 2024
78ac52d
build(deps): bump github.com/golang-jwt/jwt/v4 from 4.5.0 to 4.5.1 in…
dependabot[bot] Nov 5, 2024
1f5fe3c
feat(secret scanning): Support `pull_request_comment_url` (#3344)
chrisallenlane Nov 6, 2024
a1bc760
build(deps): bump golang.org/x/net from 0.30.0 to 0.31.0 in /scrape (…
dependabot[bot] Nov 11, 2024
7d02f42
build(deps): bump golang.org/x/sync from 0.8.0 to 0.9.0 in /tools (#3…
dependabot[bot] Nov 12, 2024
163b46a
build(deps): bump github.com/alecthomas/kong from 1.3.0 to 1.4.0 in /…
dependabot[bot] Nov 12, 2024
77dcbf3
refactor: Enable revive linter and fix up lint issues (#3345)
alexandear Nov 12, 2024
fbd682c
Add missing permissions to `InstallationPermissions` struct (#3349)
tomfeigin Nov 17, 2024
4d42454
build(deps): bump codecov/codecov-action from 4.6.0 to 5.0.2 (#3351)
dependabot[bot] Nov 18, 2024
f9210c4
Update OpenAPI (#3352)
gmlewis Nov 19, 2024
6d30edd
Add missing Deployment field to workflow_job event type (#3353)
AirOne70 Nov 20, 2024
717e93f
feat: Support Copilot metrics endpoints (#3350)
henriklundstrom Nov 20, 2024
45574f4
feat: Remove the beta endpoint for Copilot usage (#3354)
henriklundstrom Nov 22, 2024
b5e9d44
build(deps): bump codecov/codecov-action from 5.0.2 to 5.0.7 (#3358)
dependabot[bot] Nov 25, 2024
4267bc9
Update AUTHORS (#3359)
gmlewis Nov 27, 2024
9238395
Bump version of go-github to v67.0.0 (#3360)
gmlewis Nov 27, 2024
e7356de
Bump go-github from v66 to v67 in /scrape (#3361)
gmlewis Nov 27, 2024
c6856bc
Map more missing installation permissions (#3363)
tomfeigin Dec 1, 2024
cea0bba
build(deps): bump github.com/alecthomas/kong from 1.4.0 to 1.5.0 in /…
dependabot[bot] Dec 2, 2024
f0bfdaf
fix: Preserve HTTP Response in URL Errors (#3369)
silasalberti Dec 8, 2024
d08d35e
Update OpenAPI (#3374)
gmlewis Dec 9, 2024
1616008
feat: Add assignment for org role associations (#3371)
stevehipwell Dec 9, 2024
d1ffbe3
build(deps): bump codecov/codecov-action from 5.0.7 to 5.1.1 (#3375)
dependabot[bot] Dec 9, 2024
54fde31
build(deps): bump github.com/alecthomas/kong from 1.5.0 to 1.6.0 in /…
dependabot[bot] Dec 9, 2024
0eaaa97
build(deps): bump golang.org/x/sync from 0.9.0 to 0.10.0 in /tools (#…
dependabot[bot] Dec 9, 2024
e659f23
build(deps): bump golang.org/x/net from 0.31.0 to 0.32.0 in /scrape (…
dependabot[bot] Dec 9, 2024
0162c9d
chore: Deprecate legacy ID-based team methods (#3373)
stevehipwell Dec 9, 2024
077cefe
feat: Support resolution_comment to update alert API (#3357)
na-ga Dec 10, 2024
f349af0
feat: Add custom_property events (#3379)
acouvreur Dec 10, 2024
f66ed85
feat: Deprecate and replace Bool,Int,Int64,String with Ptr using gene…
alexandear Dec 11, 2024
9505a7f
feat: Add GET for custom org repo role (#3372)
stevehipwell Dec 11, 2024
550ecbe
feat!: Remove Project (classic) support (#3380)
gmlewis Dec 11, 2024
c7f49d2
chore: Remove commented out test code (#3381)
alexandear Dec 11, 2024
58ab8d3
build(deps): bump golang.org/x/crypto from 0.27.0 to 0.31.0 in /examp…
dependabot[bot] Dec 12, 2024
7bc4871
feat: Add enterprise custom properties (#3382)
stevehipwell Dec 12, 2024
7beb0aa
Change header keys to be canonical (#3389)
alexandear Dec 16, 2024
232522b
chore: Sort std imports (#3390)
alexandear Dec 16, 2024
c4a49db
feat: Document review request events in `Timeline` struct (#3391)
jbrill Dec 17, 2024
3c06fc1
fix!: Remove unused `Stats` field from `Commit` struct (#3395)
acouvreur Dec 18, 2024
b0a5e60
fix: DownloadReleaseAsset handles renamed repository (#3392)
mdb Dec 22, 2024
98d4f50
Bump version of go-github to v68.0.0 (#3397)
gmlewis Dec 23, 2024
2114490
Bump go-github from v67 to v68 in /scrape (#3398)
gmlewis Dec 23, 2024
611fb6a
build(deps): bump golang.org/x/net from 0.32.0 to 0.33.0 in /scrape (…
dependabot[bot] Dec 23, 2024
e1d7336
build(deps): bump codecov/codecov-action from 5.1.1 to 5.1.2 (#3401)
dependabot[bot] Dec 23, 2024
06727b5
Bump golang.org/x/net to v0.33.0 (#3402)
gmlewis Dec 25, 2024
3424b98
Add TokenID and TokenName to PersonalAccessToken struct (#3404)
R4vio Dec 25, 2024
5bfda1e
Bump github.com/PuerkitoBio/goquery from 1.9.2 to 1.10.1 in /scrape (…
gmlewis Dec 30, 2024
9ec2ee9
Bump Go to 1.22.10 or 1.23.4 in go.mod files (#3410)
gmlewis Dec 30, 2024
3428a81
Add opt-in rate limit support on endpoints returning 302s (#3411)
wmouchere Jan 2, 2025
16495de
Update OpenAPI (#3419)
gmlewis Jan 6, 2025
cd880c6
build(deps): bump golang.org/x/net from 0.33.0 to 0.34.0 in /scrape (…
dependabot[bot] Jan 6, 2025
80c57ff
Permit toggling rate limit check by consumers (#3386)
manicminer Jan 7, 2025
f4d4e89
build(deps): Pin and group actions/* (#3424)
dnwe Jan 7, 2025
27e3249
Add deprecation messages to security managers APIs (#3426)
just-joshing Jan 7, 2025
a44a24b
fix: Relax go directive in go.mod to 1.22.0 (#3423)
dnwe Jan 9, 2025
a61e9cf
feat!: Add support for enterprise rulesets (#3417)
stevehipwell Jan 9, 2025
1343645
Enforce toolchain requirement in generate.sh (#3428)
gmlewis Jan 9, 2025
6b18a2b
feat: Add missing notification_setting to `Team` (#3431)
stevehipwell Jan 14, 2025
2db75de
chore: Add reviewers file (#3435)
stevehipwell Jan 16, 2025
d13c739
gen-accessors: Update dumping of getters (#3437)
alexandear Jan 16, 2025
ce3a839
chore: Fix codecov upload (#3440)
stevehipwell Jan 20, 2025
4510383
chore: Spell "unmarshal" consistently with one el (#3441)
alexandear Jan 20, 2025
eb92cca
fix: Typos in func parameter, vars, error, and comments (#3442)
alexandear Jan 20, 2025
c44e9dd
fix!: Typo in field names in the CheckSuite struct (#3444)
alexandear Jan 20, 2025
b8c2253
fix!: Typo in field names in the PullStats struct (#3445)
alexandear Jan 20, 2025
1875fe0
refactor!: Do not capitalize error strings (#3446)
alexandear Jan 21, 2025
daaa51a
feat: Add manage_ghes endpoints introduced in 3.15 (#3433)
s4mur4i Jan 21, 2025
27bd175
fix!: Refactor the repository ruleset code (#3430)
stevehipwell Jan 21, 2025
04070d2
Fix minor typo (#3448)
gmlewis Jan 22, 2025
07b0446
chore!: Add `sliceofpointers` custom linter (#3447)
gmlewis Jan 22, 2025
fb972ef
chore: Check and fix license headers (#3449)
ldez Jan 23, 2025
8a800cc
Add new fields for IssueType (#3451)
cpanato Jan 24, 2025
3a72a02
ci: update golangci-lint to v1.63.4 (#3452)
cpanato Jan 24, 2025
e8d69e7
Extend `Rate` and Rate Limiting with `X-Ratelimit-Used` and `X-Rateli…
andygrunwald Jan 27, 2025
15d1aa0
build(deps): bump actions/setup-go from 5.2.0 to 5.3.0 in the actions…
dependabot[bot] Jan 27, 2025
7783310
build(deps): bump codecov/codecov-action from 5.1.2 to 5.3.1 (#3455)
dependabot[bot] Jan 27, 2025
cbe65f0
docs: Add clarifications for mergeable field in pull requests (#3396)
acouvreur Jan 30, 2025
d392e2c
build(deps): bump github.com/alecthomas/kong from 1.6.0 to 1.7.0 in /…
dependabot[bot] Feb 3, 2025
a8a3177
feat!: Change `User.InheritedFrom` to a slice (#3460)
tomfeigin Feb 5, 2025
59c38a3
Bump version of go-github to v69.0.0 (#3463)
gmlewis Feb 5, 2025
8bd68fe
Bump go-github from v68 to v69 in /scrape (#3464)
gmlewis Feb 5, 2025
a4333f3
Use a max retry after duration for secondary rate limit if specified …
Letiste Feb 5, 2025
24b0795
docs: Clarify ListPullRequestsWithCommit usage (#3465)
evanelias Feb 6, 2025
0ccbfaf
fix: go 1.22 test breakage (#3459)
amanv8060 Feb 6, 2025
ef0b26b
feat: Add link to bored-engineer/github-conditional-http-transport to…
bored-engineer Feb 8, 2025
f4966a0
build(deps): bump golang.org/x/sync from 0.10.0 to 0.11.0 in /tools (…
dependabot[bot] Feb 10, 2025
44929b0
build(deps): bump golang.org/x/net from 0.34.0 to 0.35.0 in /scrape (…
dependabot[bot] Feb 10, 2025
3d4784c
build(deps): bump github.com/alecthomas/kong from 1.7.0 to 1.8.0 in /…
dependabot[bot] Feb 10, 2025
26f71a3
Update workflow and tools to use Go1.24 and 1.23 (#3474)
gmlewis Feb 11, 2025
ce42642
chore: Only use master test runs for status badge (#3475)
iCiaran Feb 11, 2025
77684a4
feat: Add ListProvisionedScimGroupsForEnterprise inside SCIM service …
cyberious Feb 12, 2025
c4b2cb9
fix: Add missing query params to AlertListOptions (#3477)
maaarcelino Feb 12, 2025
f867d00
Bump version of go-github to v69.1.0 (#3478)
gmlewis Feb 13, 2025
6c46d71
Add helper to get `runID` from Custom Deployment Protection Rule Even…
pputman-clabs Feb 13, 2025
81dc7a9
feat: Add JSON marshal tests for dependabot alerts (#3480)
raisa2010 Feb 15, 2025
e4c974e
feat: Add sorting list options for secret scanning (#3481)
maaarcelino Feb 17, 2025
0b11dbf
Bump version of go-github to v69.2.0 (#3482)
gmlewis Feb 17, 2025
fb210dc
build(deps): bump github.com/alecthomas/kong from 1.8.0 to 1.8.1 in /…
dependabot[bot] Feb 17, 2025
868f897
build(deps): bump github.com/google/go-github/v69 from 69.0.0 to 69.2…
dependabot[bot] Feb 17, 2025
844e2e5
build(deps): bump github.com/google/go-cmp from 0.6.0 to 0.7.0 in /to…
dependabot[bot] Feb 24, 2025
32501b4
Bump github.com/google/go-cmp from 0.6.0 to 0.7.0 (#3494)
gmlewis Feb 24, 2025
782d39f
build(deps): bump actions/cache from 4.2.0 to 4.2.1 in the actions gr…
dependabot[bot] Feb 24, 2025
a25b53e
fix: Resolve '400 Custom domains' error on GitHub Enterprise Server (…
atilsensalduz Feb 25, 2025
e9d8a58
Correct the `runIDFromURLRE` regex to properly match the callbackURL …
pputman-clabs Feb 26, 2025
d0976cc
feat: Add support for GitHub-hosted runner API endpoints (#3487)
atilsensalduz Feb 26, 2025
470d43a
feat: Add support for network-configurations endpoints (#3497)
jndz2 Mar 3, 2025
c79da99
build(deps): bump codecov/codecov-action from 5.3.1 to 5.4.0 (#3500)
dependabot[bot] Mar 3, 2025
0877faf
build(deps): bump actions/cache from 4.2.1 to 4.2.2 in the actions gr…
dependabot[bot] Mar 3, 2025
56f5036
Add created_at field to Reaction (#3501)
hoenn Mar 5, 2025
991a341
Add reason parameter to MergeGroupEvent (#3508)
aguthrie Mar 10, 2025
76d1d46
fix(ci): ensure 'auto' toolchain applies to generate (#3436)
dnwe Mar 10, 2025
75813d0
Bump dependency versions from dependabot warnings (#3512)
gmlewis Mar 11, 2025
259cd22
Bump go-jose to v4.0.5 (#3513)
gmlewis Mar 11, 2025
8a3634e
feat!: Add support for network-configurations endpoints for organizat…
jndz2 Mar 12, 2025
fbc49d0
build(deps): bump golang.org/x/net from 0.33.0 to 0.36.0 in /example …
dependabot[bot] Mar 13, 2025
f88b6c8
docs: Update readme and examples for updated go-github-ratelimit and …
gofri Mar 14, 2025
04573be
Add validity filter to secret scanning alert list options (#3516)
x-way Mar 15, 2025
7a89ae9
refactor!: Update package types to align with webhook event (#3515)
adrian-saunders Mar 17, 2025
665827c
build(deps): bump github.com/alecthomas/kong from 1.8.1 to 1.9.0 in /…
dependabot[bot] Mar 17, 2025
9d7b554
build(deps): bump github.com/getkin/kin-openapi from 0.129.0 to 0.130…
dependabot[bot] Mar 17, 2025
1282133
feat: Add automatic_copilot_code_review_enabled parameter to ruleset …
mikutas Mar 17, 2025
134f6b4
Bump version of go-github to v70.0.0 (#3520)
gmlewis Mar 17, 2025
8f3c64e
Bump go-github from v69 to v70 in /scrape (#3521)
gmlewis Mar 17, 2025
bcfcb89
Path escape fix in UserService.GetPackage() (#3522)
Abiji-2020 Mar 18, 2025
a03e88c
Update openapi (#3526)
gmlewis Mar 20, 2025
df116e5
feat: Add support for Issue Types API (#3525)
atilsensalduz Mar 20, 2025
49e644b
build(deps): bump github.com/golang-jwt/jwt/v4 from 4.5.1 to 4.5.2 in…
dependabot[bot] Mar 21, 2025
bb438ae
build(deps): bump the actions group with 2 updates (#3530)
dependabot[bot] Mar 24, 2025
3cac18b
build(deps): bump github.com/getkin/kin-openapi from 0.130.0 to 0.131…
dependabot[bot] Mar 24, 2025
51d32d9
feat!: Add ListReactionOptions to all ListxxReactions functions to en…
colbylwilliams Mar 26, 2025
4f05dfb
Add ListReleaseReactions and DeleteReleaseReaction (#3533)
colbylwilliams Mar 27, 2025
0710d0b
feat: Add actions_macos field to APIMeta struct (#3535)
CameronBadman Mar 28, 2025
6f329be
fix: Isolate HTTP transports in parallel tests to prevent connection …
atilsensalduz Apr 2, 2025
3a3f51b
chore: Remove redundant in Go 1.22 loop variables (#3537)
alexandear Apr 2, 2025
b6dbc4e
fix: Add back repository field in Package struct (#3539)
jBouyoud Apr 7, 2025
c099baf
Bump version of go-github to v71.0.0 (#3540)
gmlewis Apr 7, 2025
15ecccd
Bump go-github from v70 to v71 in /scrape (#3541)
gmlewis Apr 7, 2025
ff84bff
build(deps): bump golang.org/x/net from 0.37.0 to 0.38.0 in /scrape (…
dependabot[bot] Apr 7, 2025
7db22ac
chore!: Remove support for Required Workflows (#3538)
Abiji-2020 Apr 7, 2025
6970a63
build(deps): bump github.com/alecthomas/kong from 1.9.0 to 1.10.0 in …
dependabot[bot] Apr 7, 2025
b98b707
build(deps): bump golang.org/x/sync from 0.12.0 to 0.13.0 in /tools (…
dependabot[bot] Apr 8, 2025
462cda4
Add support for registry_package event (#3545)
ptzianos Apr 13, 2025
6e6edf8
build(deps): bump codecov/codecov-action from 5.4.0 to 5.4.2 (#3551)
dependabot[bot] Apr 14, 2025
1c10f25
build(deps): bump golang.org/x/net from 0.38.0 to 0.39.0 in /scrape (…
dependabot[bot] Apr 14, 2025
6f8bcef
build(deps): bump github.com/PuerkitoBio/goquery from 1.10.2 to 1.10.…
dependabot[bot] Apr 14, 2025
6a7684f
feat: Add EPSS to Dependabot alerts (#3547)
mdfleury-wbd Apr 15, 2025
4fd4ea3
Revert "build(deps): bump codecov/codecov-action from 5.4.0 to 5.4.2"…
gmlewis Apr 15, 2025
687f933
feat: Add new fields and options to secret scanning structs (#3548)
mdfleury-wbd Apr 15, 2025
f99490e
build(deps): bump golang.org/x/net from 0.36.0 to 0.38.0 in /example …
dependabot[bot] Apr 17, 2025
5b75aa8
Add case-instensitive GetHeader for HookRequest & HookResponse (#3556)
sparshev Apr 18, 2025
04274a9
fix!: Differentiate merge method of pull request and merge queue (#3559)
stanfordpeng Apr 23, 2025
bdd7396
feat!: Add support for pagination options in rules API methods (#3562)
ktruedat Apr 28, 2025
c9e1ad0
Add issue `Type` to `IssueRequest` (#3567)
cpanato Apr 30, 2025
a341c3d
build(deps): bump golang.org/x/sync from 0.13.0 to 0.14.0 in /tools (…
dependabot[bot] May 5, 2025
9a4137d
build(deps): bump github.com/getkin/kin-openapi from 0.131.0 to 0.132…
dependabot[bot] May 5, 2025
6a2c098
Add ListCursorOptions to list Issues methods (#3570)
jberger-dynatrace May 8, 2025
718c304
Bump version of go-github to v72.0.0 (#3571)
gmlewis May 8, 2025
4095bb2
Bump go-github from v71 to v72 in /scrape (#3572)
gmlewis May 8, 2025
ef319d5
Update OpenAPI (#3574)
gmlewis May 10, 2025
d436b52
Improve DownloadContents and DownloadContentsWithMeta methods (#3573)
kuzminT May 12, 2025
1a52945
build(deps): bump actions/setup-go from 5.4.0 to 5.5.0 in the actions…
dependabot[bot] May 12, 2025
a36bba7
build(deps): bump golang.org/x/net from 0.39.0 to 0.40.0 in /scrape (…
dependabot[bot] May 13, 2025
f0f3898
build(deps): bump github.com/alecthomas/kong from 1.10.0 to 1.11.0 in…
dependabot[bot] May 19, 2025
304d3d0
build(deps): bump codecov/codecov-action from 5.4.0 to 5.4.3 (#3579)
dependabot[bot] May 19, 2025
cc0e642
feat: Add support for sub-issue (#3580)
e7217 May 26, 2025
b52ed30
fix: Add missing relationship and pkg external info for SBOMs (#3582)
viveksahu26 May 31, 2025
3c5408e
chore: Use `any` instead of `interface{}` (#3584)
alexandear Jun 3, 2025
e1db5e6
chore: Migrate golangci-lint to v2 (#3587)
alexandear Jun 5, 2025
da6f225
chore: Add alexandear to REVIEWERS (#3588)
alexandear Jun 5, 2025
8878e69
docs: Update minimum Go version in README to 1.23 (#3589)
alexandear Jun 5, 2025
3875849
fix: Use stable media type in Starring API (#3590)
alexandear Jun 9, 2025
c400937
docs: Use pkgsite links (#3591)
alexandear Jun 9, 2025
3c81a56
build(deps): bump golang.org/x/net from 0.40.0 to 0.41.0 in /scrape (…
dependabot[bot] Jun 9, 2025
8c3cc7d
build(deps): bump golang.org/x/sync from 0.14.0 to 0.15.0 in /tools (…
dependabot[bot] Jun 9, 2025
ad671c4
build(deps): bump github.com/cloudflare/circl from 1.3.7 to 1.6.1 in …
dependabot[bot] Jun 10, 2025
1b8d6fb
feat!: Add repository query option to ListCustomPropertyValues (#3598)
kazuki-hanai Jun 24, 2025
8759b17
Bump version of go-github to v73.0.0 (#3599)
gmlewis Jun 24, 2025
59da3f3
Bump go-github from v72 to v73 in /scrape (#3600)
gmlewis Jun 24, 2025
49704bf
refactor: Simplify error handling in JSON decoding in tests (#3602)
alexandear Jun 25, 2025
9493278
refactor: fix revive.unused-parameter lint issues (#3603)
alexandear Jun 25, 2025
c21f2be
chore: Correct typos in comments and tests error messages (#3604)
alexandear Jun 25, 2025
f1b11e1
fix!: Add ListSCIMProvisionedGroupsForEnterpriseOptions (#3601)
alexandear Jun 25, 2025
5862e24
feat: Add organization migration options (#3606)
leo-belanger Jun 27, 2025
a2e5acc
feat: Add new enhanced billing endpoints (#3605)
DocEmmetBrown Jun 27, 2025
2e26546
docs: Update HTTP cache references to RFC 9111 compliant implementati…
bartventer Jun 27, 2025
0c6bd91
fix: Remove custom Accept in Apps.ListRepos and Apps.ListUserRepos (#…
alexandear Jun 27, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update OpenAPI (google#3574)
  • Loading branch information
gmlewis authored May 10, 2025
commit ef319d55764dd339eb8e56632eabf8eb4563366a
4 changes: 2 additions & 2 deletions github/admin.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ func (m Enterprise) String() string {

// UpdateUserLDAPMapping updates the mapping between a GitHub user and an LDAP user.
//
// GitHub API docs: https://docs.github.com/enterprise-server@3.16/rest/enterprise-admin/ldap#update-ldap-mapping-for-a-user
// GitHub API docs: https://docs.github.com/enterprise-server@3.17/rest/enterprise-admin/ldap#update-ldap-mapping-for-a-user
//
//meta:operation PATCH /admin/ldap/users/{username}/mapping
func (s *AdminService) UpdateUserLDAPMapping(ctx context.Context, user string, mapping *UserLDAPMapping) (*UserLDAPMapping, *Response, error) {
Expand All @@ -103,7 +103,7 @@ func (s *AdminService) UpdateUserLDAPMapping(ctx context.Context, user string, m

// UpdateTeamLDAPMapping updates the mapping between a GitHub team and an LDAP group.
//
// GitHub API docs: https://docs.github.com/enterprise-server@3.16/rest/enterprise-admin/ldap#update-ldap-mapping-for-a-team
// GitHub API docs: https://docs.github.com/enterprise-server@3.17/rest/enterprise-admin/ldap#update-ldap-mapping-for-a-team
//
//meta:operation PATCH /admin/ldap/teams/{team_id}/mapping
func (s *AdminService) UpdateTeamLDAPMapping(ctx context.Context, team int64, mapping *TeamLDAPMapping) (*TeamLDAPMapping, *Response, error) {
Expand Down
6 changes: 3 additions & 3 deletions github/admin_orgs.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ type createOrgRequest struct {
// Note that only a subset of the org fields are used and org must
// not be nil.
//
// GitHub API docs: https://docs.github.com/enterprise-server@3.16/rest/enterprise-admin/orgs#create-an-organization
// GitHub API docs: https://docs.github.com/enterprise-server@3.17/rest/enterprise-admin/orgs#create-an-organization
//
//meta:operation POST /admin/organizations
func (s *AdminService) CreateOrg(ctx context.Context, org *Organization, admin string) (*Organization, *Response, error) {
Expand Down Expand Up @@ -61,7 +61,7 @@ type RenameOrgResponse struct {

// RenameOrg renames an organization in GitHub Enterprise.
//
// GitHub API docs: https://docs.github.com/enterprise-server@3.16/rest/enterprise-admin/orgs#update-an-organization-name
// GitHub API docs: https://docs.github.com/enterprise-server@3.17/rest/enterprise-admin/orgs#update-an-organization-name
//
//meta:operation PATCH /admin/organizations/{org}
func (s *AdminService) RenameOrg(ctx context.Context, org *Organization, newName string) (*RenameOrgResponse, *Response, error) {
Expand All @@ -70,7 +70,7 @@ func (s *AdminService) RenameOrg(ctx context.Context, org *Organization, newName

// RenameOrgByName renames an organization in GitHub Enterprise using its current name.
//
// GitHub API docs: https://docs.github.com/enterprise-server@3.16/rest/enterprise-admin/orgs#update-an-organization-name
// GitHub API docs: https://docs.github.com/enterprise-server@3.17/rest/enterprise-admin/orgs#update-an-organization-name
//
//meta:operation PATCH /admin/organizations/{org}
func (s *AdminService) RenameOrgByName(ctx context.Context, org, newName string) (*RenameOrgResponse, *Response, error) {
Expand Down
2 changes: 1 addition & 1 deletion github/admin_stats.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ func (s RepoStats) String() string {
// Please note that this is only available to site administrators,
// otherwise it will error with a 404 not found (instead of 401 or 403).
//
// GitHub API docs: https://docs.github.com/enterprise-server@3.16/rest/enterprise-admin/admin-stats#get-all-statistics
// GitHub API docs: https://docs.github.com/enterprise-server@3.17/rest/enterprise-admin/admin-stats#get-all-statistics
//
//meta:operation GET /enterprise/stats/all
func (s *AdminService) GetAdminStats(ctx context.Context) (*AdminStats, *Response, error) {
Expand Down
8 changes: 4 additions & 4 deletions github/admin_users.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ type CreateUserRequest struct {

// CreateUser creates a new user in GitHub Enterprise.
//
// GitHub API docs: https://docs.github.com/enterprise-server@3.16/rest/enterprise-admin/users#create-a-user
// GitHub API docs: https://docs.github.com/enterprise-server@3.17/rest/enterprise-admin/users#create-a-user
//
//meta:operation POST /admin/users
func (s *AdminService) CreateUser(ctx context.Context, userReq CreateUserRequest) (*User, *Response, error) {
Expand All @@ -42,7 +42,7 @@ func (s *AdminService) CreateUser(ctx context.Context, userReq CreateUserRequest

// DeleteUser deletes a user in GitHub Enterprise.
//
// GitHub API docs: https://docs.github.com/enterprise-server@3.16/rest/enterprise-admin/users#delete-a-user
// GitHub API docs: https://docs.github.com/enterprise-server@3.17/rest/enterprise-admin/users#delete-a-user
//
//meta:operation DELETE /admin/users/{username}
func (s *AdminService) DeleteUser(ctx context.Context, username string) (*Response, error) {
Expand Down Expand Up @@ -95,7 +95,7 @@ type UserAuthorization struct {

// CreateUserImpersonation creates an impersonation OAuth token.
//
// GitHub API docs: https://docs.github.com/enterprise-server@3.16/rest/enterprise-admin/users#create-an-impersonation-oauth-token
// GitHub API docs: https://docs.github.com/enterprise-server@3.17/rest/enterprise-admin/users#create-an-impersonation-oauth-token
//
//meta:operation POST /admin/users/{username}/authorizations
func (s *AdminService) CreateUserImpersonation(ctx context.Context, username string, opts *ImpersonateUserOptions) (*UserAuthorization, *Response, error) {
Expand All @@ -117,7 +117,7 @@ func (s *AdminService) CreateUserImpersonation(ctx context.Context, username str

// DeleteUserImpersonation deletes an impersonation OAuth token.
//
// GitHub API docs: https://docs.github.com/enterprise-server@3.16/rest/enterprise-admin/users#delete-an-impersonation-oauth-token
// GitHub API docs: https://docs.github.com/enterprise-server@3.17/rest/enterprise-admin/users#delete-an-impersonation-oauth-token
//
//meta:operation DELETE /admin/users/{username}/authorizations
func (s *AdminService) DeleteUserImpersonation(ctx context.Context, username string) (*Response, error) {
Expand Down
4 changes: 2 additions & 2 deletions github/authorizations.go
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ func (s *AuthorizationsService) DeleteGrant(ctx context.Context, clientID, acces
// you can e.g. create or delete a user's public SSH key. NOTE: creating a
// new token automatically revokes an existing one.
//
// GitHub API docs: https://docs.github.com/enterprise-server@3.16/rest/enterprise-admin/users#create-an-impersonation-oauth-token
// GitHub API docs: https://docs.github.com/enterprise-server@3.17/rest/enterprise-admin/users#create-an-impersonation-oauth-token
//
//meta:operation POST /admin/users/{username}/authorizations
func (s *AuthorizationsService) CreateImpersonation(ctx context.Context, username string, authReq *AuthorizationRequest) (*Authorization, *Response, error) {
Expand All @@ -279,7 +279,7 @@ func (s *AuthorizationsService) CreateImpersonation(ctx context.Context, usernam
//
// NOTE: there can be only one at a time.
//
// GitHub API docs: https://docs.github.com/enterprise-server@3.16/rest/enterprise-admin/users#delete-an-impersonation-oauth-token
// GitHub API docs: https://docs.github.com/enterprise-server@3.17/rest/enterprise-admin/users#delete-an-impersonation-oauth-token
//
//meta:operation DELETE /admin/users/{username}/authorizations
func (s *AuthorizationsService) DeleteImpersonation(ctx context.Context, username string) (*Response, error) {
Expand Down
8 changes: 4 additions & 4 deletions github/enterprise_manage_ghes.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ type ReleaseVersion struct {

// CheckSystemRequirements checks if GHES system nodes meet the system requirements.
//
// GitHub API docs: https://docs.github.com/enterprise-server@3.16/rest/enterprise-admin/manage-ghes#get-the-system-requirement-check-results-for-configured-cluster-nodes
// GitHub API docs: https://docs.github.com/enterprise-server@3.17/rest/enterprise-admin/manage-ghes#get-the-system-requirement-check-results-for-configured-cluster-nodes
//
//meta:operation GET /manage/v1/checks/system-requirements
func (s *EnterpriseService) CheckSystemRequirements(ctx context.Context) (*SystemRequirements, *Response, error) {
Expand All @@ -95,7 +95,7 @@ func (s *EnterpriseService) CheckSystemRequirements(ctx context.Context) (*Syste

// ClusterStatus gets the status of all services running on each cluster node.
//
// GitHub API docs: https://docs.github.com/enterprise-server@3.16/rest/enterprise-admin/manage-ghes#get-the-status-of-services-running-on-all-cluster-nodes
// GitHub API docs: https://docs.github.com/enterprise-server@3.17/rest/enterprise-admin/manage-ghes#get-the-status-of-services-running-on-all-cluster-nodes
//
//meta:operation GET /manage/v1/cluster/status
func (s *EnterpriseService) ClusterStatus(ctx context.Context) (*ClusterStatus, *Response, error) {
Expand All @@ -116,7 +116,7 @@ func (s *EnterpriseService) ClusterStatus(ctx context.Context) (*ClusterStatus,

// ReplicationStatus gets the status of all services running on each replica node.
//
// GitHub API docs: https://docs.github.com/enterprise-server@3.16/rest/enterprise-admin/manage-ghes#get-the-status-of-services-running-on-all-replica-nodes
// GitHub API docs: https://docs.github.com/enterprise-server@3.17/rest/enterprise-admin/manage-ghes#get-the-status-of-services-running-on-all-replica-nodes
//
//meta:operation GET /manage/v1/replication/status
func (s *EnterpriseService) ReplicationStatus(ctx context.Context, opts *NodeQueryOptions) (*ClusterStatus, *Response, error) {
Expand All @@ -140,7 +140,7 @@ func (s *EnterpriseService) ReplicationStatus(ctx context.Context, opts *NodeQue

// GetNodeReleaseVersions gets the version information deployed to each node.
//
// GitHub API docs: https://docs.github.com/enterprise-server@3.16/rest/enterprise-admin/manage-ghes#get-all-ghes-release-versions-for-all-nodes
// GitHub API docs: https://docs.github.com/enterprise-server@3.17/rest/enterprise-admin/manage-ghes#get-all-ghes-release-versions-for-all-nodes
//
//meta:operation GET /manage/v1/version
func (s *EnterpriseService) GetNodeReleaseVersions(ctx context.Context, opts *NodeQueryOptions) ([]*NodeReleaseVersion, *Response, error) {
Expand Down
20 changes: 10 additions & 10 deletions github/enterprise_manage_ghes_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ type NodeDetails struct {

// ConfigApplyEvents gets events from the command ghe-config-apply.
//
// GitHub API docs: https://docs.github.com/enterprise-server@3.16/rest/enterprise-admin/manage-ghes#list-events-from-ghe-config-apply
// GitHub API docs: https://docs.github.com/enterprise-server@3.17/rest/enterprise-admin/manage-ghes#list-events-from-ghe-config-apply
//
//meta:operation GET /manage/v1/config/apply/events
func (s *EnterpriseService) ConfigApplyEvents(ctx context.Context, opts *ConfigApplyEventsOptions) (*ConfigApplyEvents, *Response, error) {
Expand All @@ -330,7 +330,7 @@ func (s *EnterpriseService) ConfigApplyEvents(ctx context.Context, opts *ConfigA
// InitialConfig initializes the GitHub Enterprise instance with a license and password.
// After initializing the instance, you need to run an apply to apply the configuration.
//
// GitHub API docs: https://docs.github.com/enterprise-server@3.16/rest/enterprise-admin/manage-ghes#initialize-instance-configuration-with-license-and-password
// GitHub API docs: https://docs.github.com/enterprise-server@3.17/rest/enterprise-admin/manage-ghes#initialize-instance-configuration-with-license-and-password
//
//meta:operation POST /manage/v1/config/init
func (s *EnterpriseService) InitialConfig(ctx context.Context, license, password string) (*Response, error) {
Expand All @@ -351,7 +351,7 @@ func (s *EnterpriseService) InitialConfig(ctx context.Context, license, password

// License gets the current license information for the GitHub Enterprise instance.
//
// GitHub API docs: https://docs.github.com/enterprise-server@3.16/rest/enterprise-admin/manage-ghes#get-the-enterprise-license-information
// GitHub API docs: https://docs.github.com/enterprise-server@3.17/rest/enterprise-admin/manage-ghes#get-the-enterprise-license-information
//
//meta:operation GET /manage/v1/config/license
func (s *EnterpriseService) License(ctx context.Context) ([]*LicenseStatus, *Response, error) {
Expand All @@ -372,7 +372,7 @@ func (s *EnterpriseService) License(ctx context.Context) ([]*LicenseStatus, *Res

// UploadLicense uploads a new license to the GitHub Enterprise instance.
//
// GitHub API docs: https://docs.github.com/enterprise-server@3.16/rest/enterprise-admin/manage-ghes#upload-an-enterprise-license
// GitHub API docs: https://docs.github.com/enterprise-server@3.17/rest/enterprise-admin/manage-ghes#upload-an-enterprise-license
//
//meta:operation PUT /manage/v1/config/license
func (s *EnterpriseService) UploadLicense(ctx context.Context, license string) (*Response, error) {
Expand All @@ -390,7 +390,7 @@ func (s *EnterpriseService) UploadLicense(ctx context.Context, license string) (

// LicenseStatus gets the current license status for the GitHub Enterprise instance.
//
// GitHub API docs: https://docs.github.com/enterprise-server@3.16/rest/enterprise-admin/manage-ghes#check-a-license
// GitHub API docs: https://docs.github.com/enterprise-server@3.17/rest/enterprise-admin/manage-ghes#check-a-license
//
//meta:operation GET /manage/v1/config/license/check
func (s *EnterpriseService) LicenseStatus(ctx context.Context) ([]*LicenseCheck, *Response, error) {
Expand All @@ -412,7 +412,7 @@ func (s *EnterpriseService) LicenseStatus(ctx context.Context) ([]*LicenseCheck,
// NodeMetadata gets the metadata for all nodes in the GitHub Enterprise instance.
// This is required for clustered setups.
//
// GitHub API docs: https://docs.github.com/enterprise-server@3.16/rest/enterprise-admin/manage-ghes#get-ghes-node-metadata-for-all-nodes
// GitHub API docs: https://docs.github.com/enterprise-server@3.17/rest/enterprise-admin/manage-ghes#get-ghes-node-metadata-for-all-nodes
//
//meta:operation GET /manage/v1/config/nodes
func (s *EnterpriseService) NodeMetadata(ctx context.Context, opts *NodeQueryOptions) (*NodeMetadataStatus, *Response, error) {
Expand All @@ -436,7 +436,7 @@ func (s *EnterpriseService) NodeMetadata(ctx context.Context, opts *NodeQueryOpt

// Settings gets the current configuration settings for the GitHub Enterprise instance.
//
// GitHub API docs: https://docs.github.com/enterprise-server@3.16/rest/enterprise-admin/manage-ghes#get-the-ghes-settings
// GitHub API docs: https://docs.github.com/enterprise-server@3.17/rest/enterprise-admin/manage-ghes#get-the-ghes-settings
//
//meta:operation GET /manage/v1/config/settings
func (s *EnterpriseService) Settings(ctx context.Context) (*ConfigSettings, *Response, error) {
Expand All @@ -457,7 +457,7 @@ func (s *EnterpriseService) Settings(ctx context.Context) (*ConfigSettings, *Res

// UpdateSettings updates the configuration settings for the GitHub Enterprise instance.
//
// GitHub API docs: https://docs.github.com/enterprise-server@3.16/rest/enterprise-admin/manage-ghes#set-settings
// GitHub API docs: https://docs.github.com/enterprise-server@3.17/rest/enterprise-admin/manage-ghes#set-settings
//
//meta:operation PUT /manage/v1/config/settings
func (s *EnterpriseService) UpdateSettings(ctx context.Context, opts *ConfigSettings) (*Response, error) {
Expand All @@ -476,7 +476,7 @@ func (s *EnterpriseService) UpdateSettings(ctx context.Context, opts *ConfigSett

// ConfigApply triggers a configuration apply run on the GitHub Enterprise instance.
//
// GitHub API docs: https://docs.github.com/enterprise-server@3.16/rest/enterprise-admin/manage-ghes#trigger-a-ghe-config-apply-run
// GitHub API docs: https://docs.github.com/enterprise-server@3.17/rest/enterprise-admin/manage-ghes#trigger-a-ghe-config-apply-run
//
//meta:operation POST /manage/v1/config/apply
func (s *EnterpriseService) ConfigApply(ctx context.Context, opts *ConfigApplyOptions) (*ConfigApplyOptions, *Response, error) {
Expand All @@ -497,7 +497,7 @@ func (s *EnterpriseService) ConfigApply(ctx context.Context, opts *ConfigApplyOp
// ConfigApplyStatus gets the status of a ghe-config-apply run on the GitHub Enterprise instance.
// You can request lat one or specific id one.
//
// GitHub API docs: https://docs.github.com/enterprise-server@3.16/rest/enterprise-admin/manage-ghes#get-the-status-of-a-ghe-config-apply-run
// GitHub API docs: https://docs.github.com/enterprise-server@3.17/rest/enterprise-admin/manage-ghes#get-the-status-of-a-ghe-config-apply-run
//
//meta:operation GET /manage/v1/config/apply
func (s *EnterpriseService) ConfigApplyStatus(ctx context.Context, opts *ConfigApplyOptions) (*ConfigApplyStatus, *Response, error) {
Expand Down
4 changes: 2 additions & 2 deletions github/enterprise_manage_ghes_maintenance.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ type MaintenanceOptions struct {

// GetMaintenanceStatus gets the status of maintenance mode for all nodes.
//
// GitHub API docs: https://docs.github.com/enterprise-server@3.16/rest/enterprise-admin/manage-ghes#get-the-status-of-maintenance-mode
// GitHub API docs: https://docs.github.com/enterprise-server@3.17/rest/enterprise-admin/manage-ghes#get-the-status-of-maintenance-mode
//
//meta:operation GET /manage/v1/maintenance
func (s *EnterpriseService) GetMaintenanceStatus(ctx context.Context, opts *NodeQueryOptions) ([]*MaintenanceStatus, *Response, error) {
Expand All @@ -71,7 +71,7 @@ func (s *EnterpriseService) GetMaintenanceStatus(ctx context.Context, opts *Node
// CreateMaintenance sets the maintenance mode for the instance.
// With the enable parameter we can control to put instance into maintenance mode or not. With false we can disable the maintenance mode.
//
// GitHub API docs: https://docs.github.com/enterprise-server@3.16/rest/enterprise-admin/manage-ghes#set-the-status-of-maintenance-mode
// GitHub API docs: https://docs.github.com/enterprise-server@3.17/rest/enterprise-admin/manage-ghes#set-the-status-of-maintenance-mode
//
//meta:operation POST /manage/v1/maintenance
func (s *EnterpriseService) CreateMaintenance(ctx context.Context, enable bool, opts *MaintenanceOptions) ([]*MaintenanceOperationStatus, *Response, error) {
Expand Down
6 changes: 3 additions & 3 deletions github/enterprise_manage_ghes_ssh.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ type ClusterSSHKey struct {

// DeleteSSHKey deletes the SSH key from the instance.
//
// GitHub API docs: https://docs.github.com/enterprise-server@3.16/rest/enterprise-admin/manage-ghes#delete-a-ssh-key
// GitHub API docs: https://docs.github.com/enterprise-server@3.17/rest/enterprise-admin/manage-ghes#delete-a-ssh-key
//
//meta:operation DELETE /manage/v1/access/ssh
func (s *EnterpriseService) DeleteSSHKey(ctx context.Context, key string) ([]*SSHKeyStatus, *Response, error) {
Expand All @@ -55,7 +55,7 @@ func (s *EnterpriseService) DeleteSSHKey(ctx context.Context, key string) ([]*SS

// GetSSHKey gets the SSH keys configured for the instance.
//
// GitHub API docs: https://docs.github.com/enterprise-server@3.16/rest/enterprise-admin/manage-ghes#get-the-configured-ssh-keys
// GitHub API docs: https://docs.github.com/enterprise-server@3.17/rest/enterprise-admin/manage-ghes#get-the-configured-ssh-keys
//
//meta:operation GET /manage/v1/access/ssh
func (s *EnterpriseService) GetSSHKey(ctx context.Context) ([]*ClusterSSHKey, *Response, error) {
Expand All @@ -76,7 +76,7 @@ func (s *EnterpriseService) GetSSHKey(ctx context.Context) ([]*ClusterSSHKey, *R

// CreateSSHKey adds a new SSH key to the instance.
//
// GitHub API docs: https://docs.github.com/enterprise-server@3.16/rest/enterprise-admin/manage-ghes#set-a-new-ssh-key
// GitHub API docs: https://docs.github.com/enterprise-server@3.17/rest/enterprise-admin/manage-ghes#set-a-new-ssh-key
//
//meta:operation POST /manage/v1/access/ssh
func (s *EnterpriseService) CreateSSHKey(ctx context.Context, key string) ([]*SSHKeyStatus, *Response, error) {
Expand Down
Loading