Skip to content

Commit

Permalink
fix: mark `PUT /enterprises/{enterprise}/actions/oidc/customization/i…
Browse files Browse the repository at this point in the history
…ssuer` as GitHub Enterprise

Cloud-only
  • Loading branch information
timrogers committed Jul 2, 2022
1 parent c6d49a5 commit b3451de
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 25 deletions.
3 changes: 0 additions & 3 deletions src/generated/endpoints.ts
Expand Up @@ -220,9 +220,6 @@ const Endpoints: EndpointsDefaultsAndDecorations = {
reviewPendingDeploymentsForRun: [
"POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments",
],
setActionsOidcCustomIssuerPolicyForEnterprise: [
"PUT /enterprises/{enterprise}/actions/oidc/customization/issuer",
],
setAllowedActionsOrganization: [
"PUT /orgs/{org}/actions/permissions/selected-actions",
],
Expand Down
14 changes: 0 additions & 14 deletions src/generated/method-types.ts
Expand Up @@ -1465,20 +1465,6 @@ export type RestEndpointMethods = {
defaults: RequestInterface["defaults"];
endpoint: EndpointInterface<{ url: string }>;
};
/**
* Sets the GitHub Actions OpenID Connect (OIDC) custom issuer policy for an enterprise.
* You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.
* GitHub Apps must have the `enterprise_administration:write` permission to use this endpoint.
*/
setActionsOidcCustomIssuerPolicyForEnterprise: {
(
params?: RestEndpointMethodTypes["actions"]["setActionsOidcCustomIssuerPolicyForEnterprise"]["parameters"]
): Promise<
RestEndpointMethodTypes["actions"]["setActionsOidcCustomIssuerPolicyForEnterprise"]["response"]
>;
defaults: RequestInterface["defaults"];
endpoint: EndpointInterface<{ url: string }>;
};
/**
* 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)."
*
Expand Down
8 changes: 0 additions & 8 deletions src/generated/parameters-and-response-types.ts
Expand Up @@ -714,14 +714,6 @@ export type RestEndpointMethodTypes = {
>;
response: Endpoints["POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments"]["response"];
};
setActionsOidcCustomIssuerPolicyForEnterprise: {
parameters: RequestParameters &
Omit<
Endpoints["PUT /enterprises/{enterprise}/actions/oidc/customization/issuer"]["parameters"],
"baseUrl" | "headers" | "mediaType"
>;
response: Endpoints["PUT /enterprises/{enterprise}/actions/oidc/customization/issuer"]["response"];
};
setAllowedActionsOrganization: {
parameters: RequestParameters &
Omit<
Expand Down

0 comments on commit b3451de

Please sign in to comment.