Skip to content

Commit 8445c42

Browse files
authored
feat: add support for GHES 3.11, 3.12 | remove support for 3.7 | description updates | new /repos/{owner}/{repo}/actions/oidc/customization/sub, /orgs/{org}/{security_product}/{enablement} endpoints | fix deleteCard method's endpoint (#659)
BREAKING CHANGE: Drop GHES 3.7 support
1 parent 43167de commit 8445c42

21 files changed

+115156
-28315
lines changed

docs/ghe-310.md

Lines changed: 765 additions & 2451 deletions
Large diffs are not rendered by default.

docs/ghe-311.md

Lines changed: 978 additions & 0 deletions
Large diffs are not rendered by default.

docs/ghe-37.md renamed to docs/ghe-312.md

Lines changed: 564 additions & 6 deletions
Large diffs are not rendered by default.

docs/ghe-38.md

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,7 @@ octokit.actions.getActionsCacheUsagePolicyForEnterprise({ enterprise });
289289
octokit.actions.getAllowedActionsOrganization({ org });
290290
octokit.actions.getAllowedActionsRepository({ owner, repo });
291291
octokit.actions.getArtifact({ owner, repo, artifact_id });
292+
octokit.actions.getCustomOidcSubClaimForRepo({ owner, repo });
292293
octokit.actions.getEnvironmentPublicKey({ repository_id, environment_name });
293294
octokit.actions.getEnvironmentSecret({
294295
repository_id,
@@ -500,6 +501,12 @@ octokit.actions.setCustomLabelsForSelfHostedRunnerForRepo({
500501
runner_id,
501502
labels,
502503
});
504+
octokit.actions.setCustomOidcSubClaimForRepo({
505+
owner,
506+
repo,
507+
use_default,
508+
include_claim_keys,
509+
});
503510
octokit.actions.setGithubActionsDefaultWorkflowPermissionsOrganization({
504511
org,
505512
default_workflow_permissions,
@@ -1192,12 +1199,19 @@ octokit.migrations.startForOrg({
11921199
exclude,
11931200
});
11941201
octokit.migrations.unlockRepoForOrg({ org, migration_id, repo_name });
1202+
octokit.oidc.getOidcCustomSubTemplateForOrg({ org });
1203+
octokit.oidc.updateOidcCustomSubTemplateForOrg({ org, include_claim_keys });
11951204
octokit.orgs.addSecurityManagerTeam({ org, team_slug });
11961205
octokit.orgs.checkMembershipForUser({ org, username });
11971206
octokit.orgs.checkPublicMembershipForUser({ org, username });
11981207
octokit.orgs.convertMemberToOutsideCollaborator({ org, username, async });
11991208
octokit.orgs.createWebhook({ org, name, config, events, active });
12001209
octokit.orgs.deleteWebhook({ org, hook_id });
1210+
octokit.orgs.enableOrDisableSecurityProductOnAllOrgRepos({
1211+
org,
1212+
security_product,
1213+
enablement,
1214+
});
12011215
octokit.orgs.get({ org });
12021216
octokit.orgs.getMembershipForAuthenticatedUser({ org });
12031217
octokit.orgs.getMembershipForUser({ org, username });
@@ -1280,6 +1294,7 @@ octokit.projects.delete({ project_id });
12801294
octokit.projects.deleteCard({ card_id });
12811295
octokit.projects.deleteColumn({ column_id });
12821296
octokit.projects.get({ project_id });
1297+
octokit.projects.getCard({ card_id });
12831298
octokit.projects.getColumn({ column_id });
12841299
octokit.projects.getPermissionForUser({ project_id, username });
12851300
octokit.projects.listCards({ column_id, archived_state, per_page, page });
@@ -1299,6 +1314,7 @@ octokit.projects.update({
12991314
organization_permission,
13001315
private,
13011316
});
1317+
octokit.projects.updateCard({ card_id, note, archived });
13021318
octokit.projects.updateColumn({ column_id, name });
13031319
octokit.pulls.checkIfMerged({ owner, repo, pull_number });
13041320
octokit.pulls.create({
@@ -1860,7 +1876,7 @@ octokit.repos.getUsersWithAccessToProtectedBranch({ owner, repo, branch });
18601876
octokit.repos.getWebhook({ owner, repo, hook_id });
18611877
octokit.repos.getWebhookConfigForRepo({ owner, repo, hook_id });
18621878
octokit.repos.getWebhookDelivery({ owner, repo, hook_id, delivery_id });
1863-
octokit.repos.listAutolinks({ owner, repo, page });
1879+
octokit.repos.listAutolinks({ owner, repo });
18641880
octokit.repos.listBranches({ owner, repo, protected, per_page, page });
18651881
octokit.repos.listBranchesForHeadCommit({ owner, repo, commit_sha });
18661882
octokit.repos.listCacheInfo({ owner, repo, per_page, page });
@@ -2178,6 +2194,13 @@ octokit.teams.addOrUpdateProjectPermissionsLegacy({
21782194
project_id,
21792195
permission,
21802196
});
2197+
octokit.teams.addOrUpdateRepoPermissionsInOrg({
2198+
org,
2199+
team_slug,
2200+
owner,
2201+
repo,
2202+
permission,
2203+
});
21812204
octokit.teams.addOrUpdateRepoPermissionsLegacy({
21822205
team_id,
21832206
owner,
@@ -2246,6 +2269,7 @@ octokit.teams.getMemberLegacy({ team_id, username });
22462269
octokit.teams.getMembershipForUserInOrg({ org, team_slug, username });
22472270
octokit.teams.getMembershipForUserLegacy({ team_id, username });
22482271
octokit.teams.list({ org, per_page, page });
2272+
octokit.teams.listChildInOrg({ org, team_slug, per_page, page });
22492273
octokit.teams.listChildLegacy({ team_id, per_page, page });
22502274
octokit.teams.listDiscussionCommentsInOrg({
22512275
org,
@@ -2283,6 +2307,7 @@ octokit.teams.removeMembershipForUserInOrg({ org, team_slug, username });
22832307
octokit.teams.removeMembershipForUserLegacy({ team_id, username });
22842308
octokit.teams.removeProjectInOrg({ org, team_slug, project_id });
22852309
octokit.teams.removeProjectLegacy({ team_id, project_id });
2310+
octokit.teams.removeRepoInOrg({ org, team_slug, owner, repo });
22862311
octokit.teams.removeRepoLegacy({ team_id, owner, repo });
22872312
octokit.teams.updateDiscussionCommentInOrg({
22882313
org,

0 commit comments

Comments
 (0)