Skip to content

Commit b3451de

Browse files
committedJul 2, 2022
fix: mark PUT /enterprises/{enterprise}/actions/oidc/customization/issuer as GitHub Enterprise
Cloud-only
1 parent c6d49a5 commit b3451de

File tree

3 files changed

+0
-25
lines changed

3 files changed

+0
-25
lines changed
 

‎src/generated/endpoints.ts

-3
Original file line numberDiff line numberDiff line change
@@ -220,9 +220,6 @@ const Endpoints: EndpointsDefaultsAndDecorations = {
220220
reviewPendingDeploymentsForRun: [
221221
"POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments",
222222
],
223-
setActionsOidcCustomIssuerPolicyForEnterprise: [
224-
"PUT /enterprises/{enterprise}/actions/oidc/customization/issuer",
225-
],
226223
setAllowedActionsOrganization: [
227224
"PUT /orgs/{org}/actions/permissions/selected-actions",
228225
],

‎src/generated/method-types.ts

-14
Original file line numberDiff line numberDiff line change
@@ -1465,20 +1465,6 @@ export type RestEndpointMethods = {
14651465
defaults: RequestInterface["defaults"];
14661466
endpoint: EndpointInterface<{ url: string }>;
14671467
};
1468-
/**
1469-
* Sets the GitHub Actions OpenID Connect (OIDC) custom issuer policy for an enterprise.
1470-
* You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.
1471-
* GitHub Apps must have the `enterprise_administration:write` permission to use this endpoint.
1472-
*/
1473-
setActionsOidcCustomIssuerPolicyForEnterprise: {
1474-
(
1475-
params?: RestEndpointMethodTypes["actions"]["setActionsOidcCustomIssuerPolicyForEnterprise"]["parameters"]
1476-
): Promise<
1477-
RestEndpointMethodTypes["actions"]["setActionsOidcCustomIssuerPolicyForEnterprise"]["response"]
1478-
>;
1479-
defaults: RequestInterface["defaults"];
1480-
endpoint: EndpointInterface<{ url: string }>;
1481-
};
14821468
/**
14831469
* Sets the actions and reusable workflows that are allowed in an organization. To use this endpoint, the organization permission policy for `allowed_actions` must be configured to `selected`. For more information, see "[Set GitHub Actions permissions for an organization](#set-github-actions-permissions-for-an-organization)."
14841470
*

‎src/generated/parameters-and-response-types.ts

-8
Original file line numberDiff line numberDiff line change
@@ -714,14 +714,6 @@ export type RestEndpointMethodTypes = {
714714
>;
715715
response: Endpoints["POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments"]["response"];
716716
};
717-
setActionsOidcCustomIssuerPolicyForEnterprise: {
718-
parameters: RequestParameters &
719-
Omit<
720-
Endpoints["PUT /enterprises/{enterprise}/actions/oidc/customization/issuer"]["parameters"],
721-
"baseUrl" | "headers" | "mediaType"
722-
>;
723-
response: Endpoints["PUT /enterprises/{enterprise}/actions/oidc/customization/issuer"]["response"];
724-
};
725717
setAllowedActionsOrganization: {
726718
parameters: RequestParameters &
727719
Omit<

0 commit comments

Comments
 (0)
Please sign in to comment.