Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
1,816 changes: 1,315 additions & 501 deletions cache/api.github.com.json

Large diffs are not rendered by default.

3,097 changes: 2,219 additions & 878 deletions cache/ghec.json

Large diffs are not rendered by default.

1,908 changes: 1,278 additions & 630 deletions cache/ghes-3.14.json

Large diffs are not rendered by default.

1,918 changes: 1,288 additions & 630 deletions cache/ghes-3.15.json

Large diffs are not rendered by default.

1,918 changes: 1,288 additions & 630 deletions cache/ghes-3.16.json

Large diffs are not rendered by default.

2,922 changes: 1,905 additions & 1,017 deletions cache/ghes-3.17.json

Large diffs are not rendered by default.

3,624 changes: 2,256 additions & 1,368 deletions cache/ghes-3.18.json

Large diffs are not rendered by default.

5,702 changes: 2,678 additions & 3,024 deletions cache/ghes-3.19.json

Large diffs are not rendered by default.

447 changes: 420 additions & 27 deletions packages/openapi-webhooks-types-ghec/types.d.ts

Large diffs are not rendered by default.

76 changes: 71 additions & 5 deletions packages/openapi-webhooks-types-ghes-3.14/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3361,12 +3361,14 @@ export interface components {
| "push_ruleset_bypass"
| "secret_scanning"
| "secret_scanning_closure"
| "code_scanning_alert_dismissal";
| "code_scanning_alert_dismissal"
| "dependabot_alert_dismissal";
exemption_request_data?:
| components["schemas"]["exemption-request-push-ruleset-bypass"]
| components["schemas"]["exemption-request-secret-scanning"]
| components["schemas"]["dismissal-request-secret-scanning"]
| components["schemas"]["dismissal-request-code-scanning"];
| components["schemas"]["dismissal-request-code-scanning"]
| components["schemas"]["dismissal-request-dependabot"];
/** @description The unique identifier for the request type of the exemption request. For example, a commit SHA. */
resource_identifier?: string;
/**
Expand All @@ -3382,6 +3384,7 @@ export interface components {
| components["schemas"]["exemption-request-secret-scanning-metadata"]
| components["schemas"]["dismissal-request-secret-scanning-metadata"]
| components["schemas"]["dismissal-request-code-scanning-metadata"]
| components["schemas"]["dismissal-request-dependabot-metadata"]
)
| null;
/**
Expand Down Expand Up @@ -3488,6 +3491,22 @@ export interface components {
alert_number?: string;
}[];
};
/**
* Dependabot alert dismissal request data
* @description Dependabot alerts that have dismissal requests.
*/
"dismissal-request-dependabot": {
/**
* @description The type of request
* @enum {string}
*/
type?: "dependabot_alert_dismissal";
/** @description The data related to the Dependabot alerts that have dismissal requests. */
data?: {
/** @description The number of the alert to be dismissed */
alert_number?: string;
}[];
};
/**
* Secret Scanning Push Protection Exemption Request Metadata
* @description Metadata for a secret scanning push protection exemption request.
Expand Down Expand Up @@ -3527,6 +3546,24 @@ export interface components {
*/
reason?: "false positive" | "won't fix" | "used in tests";
};
/**
* Dependabot alert dismissal request metadata
* @description Metadata for a Dependabot alert dismissal request.
*/
"dismissal-request-dependabot-metadata": {
/** @description The title of the Dependabot alert */
alert_title?: string;
/**
* @description The reason for the dismissal request
* @enum {string}
*/
reason?:
| "fix_started"
| "inaccurate"
| "no_bandwidth"
| "not_used"
| "tolerable_risk";
};
/**
* Exemption response
* @description A response to an exemption request by a delegated bypasser.
Expand Down Expand Up @@ -6017,6 +6054,7 @@ export interface components {
dismissed_comment: string | null;
fixed_at: components["schemas"]["alert-fixed-at"];
auto_dismissed_at?: components["schemas"]["alert-auto-dismissed-at"];
dismissal_request?: components["schemas"]["dependabot-alert-dismissal-request-simple"];
};
/** @description The security alert number. */
readonly "alert-number": number;
Expand Down Expand Up @@ -6158,6 +6196,36 @@ export interface components {
* @description The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.
*/
readonly "alert-auto-dismissed-at": string | null;
/**
* Dependabot alert dismissal request
* @description Information about an active dismissal request for this Dependabot alert.
*/
"dependabot-alert-dismissal-request-simple": {
/** @description The unique identifier of the dismissal request. */
id?: number;
/**
* @description The current status of the dismissal request.
* @enum {string}
*/
status?: "pending" | "approved" | "rejected" | "cancelled";
/** @description The user who requested the dismissal. */
requester?: {
/** @description The unique identifier of the user. */
id?: number;
/** @description The login name of the user. */
login?: string;
};
/**
* Format: date-time
* @description The date and time when the dismissal request was created.
*/
created_at?: string;
/**
* Format: uri
* @description The API URL to get more information about this dismissal request.
*/
url?: string;
} | null;
/** Dependabot alert auto-reopened event */
"webhook-dependabot-alert-auto-reopened": {
/** @enum {string} */
Expand Down Expand Up @@ -9475,7 +9543,7 @@ export interface components {
* @description How the author is associated with the repository.
* @enum {string}
*/
author_association:
author_association?:
| "COLLABORATOR"
| "CONTRIBUTOR"
| "FIRST_TIMER"
Expand Down Expand Up @@ -52023,8 +52091,6 @@ export interface components {
/** @enum {string} */
type: "pull_request";
parameters?: {
/** @description Request Copilot code review for new pull requests automatically if the author has access to Copilot code review and their premium requests quota has not reached the limit. */
automatic_copilot_code_review_enabled?: boolean;
/** @description New, reviewable commits pushed will dismiss previous pull request review approvals. */
dismiss_stale_reviews_on_push: boolean;
/** @description Require an approving review in pull requests that modify files that have a designated code owner. */
Expand Down
76 changes: 71 additions & 5 deletions packages/openapi-webhooks-types-ghes-3.15/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3375,12 +3375,14 @@ export interface components {
| "push_ruleset_bypass"
| "secret_scanning"
| "secret_scanning_closure"
| "code_scanning_alert_dismissal";
| "code_scanning_alert_dismissal"
| "dependabot_alert_dismissal";
exemption_request_data?:
| components["schemas"]["exemption-request-push-ruleset-bypass"]
| components["schemas"]["exemption-request-secret-scanning"]
| components["schemas"]["dismissal-request-secret-scanning"]
| components["schemas"]["dismissal-request-code-scanning"];
| components["schemas"]["dismissal-request-code-scanning"]
| components["schemas"]["dismissal-request-dependabot"];
/** @description The unique identifier for the request type of the exemption request. For example, a commit SHA. */
resource_identifier?: string;
/**
Expand All @@ -3396,6 +3398,7 @@ export interface components {
| components["schemas"]["exemption-request-secret-scanning-metadata"]
| components["schemas"]["dismissal-request-secret-scanning-metadata"]
| components["schemas"]["dismissal-request-code-scanning-metadata"]
| components["schemas"]["dismissal-request-dependabot-metadata"]
)
| null;
/**
Expand Down Expand Up @@ -3502,6 +3505,22 @@ export interface components {
alert_number?: string;
}[];
};
/**
* Dependabot alert dismissal request data
* @description Dependabot alerts that have dismissal requests.
*/
"dismissal-request-dependabot": {
/**
* @description The type of request
* @enum {string}
*/
type?: "dependabot_alert_dismissal";
/** @description The data related to the Dependabot alerts that have dismissal requests. */
data?: {
/** @description The number of the alert to be dismissed */
alert_number?: string;
}[];
};
/**
* Secret Scanning Push Protection Exemption Request Metadata
* @description Metadata for a secret scanning push protection exemption request.
Expand Down Expand Up @@ -3541,6 +3560,24 @@ export interface components {
*/
reason?: "false positive" | "won't fix" | "used in tests";
};
/**
* Dependabot alert dismissal request metadata
* @description Metadata for a Dependabot alert dismissal request.
*/
"dismissal-request-dependabot-metadata": {
/** @description The title of the Dependabot alert */
alert_title?: string;
/**
* @description The reason for the dismissal request
* @enum {string}
*/
reason?:
| "fix_started"
| "inaccurate"
| "no_bandwidth"
| "not_used"
| "tolerable_risk";
};
/**
* Exemption response
* @description A response to an exemption request by a delegated bypasser.
Expand Down Expand Up @@ -6036,6 +6073,7 @@ export interface components {
dismissed_comment: string | null;
fixed_at: components["schemas"]["alert-fixed-at"];
auto_dismissed_at?: components["schemas"]["alert-auto-dismissed-at"];
dismissal_request?: components["schemas"]["dependabot-alert-dismissal-request-simple"];
};
/** @description The security alert number. */
readonly "alert-number": number;
Expand Down Expand Up @@ -6177,6 +6215,36 @@ export interface components {
* @description The time that the alert was auto-dismissed in ISO 8601 format: `YYYY-MM-DDTHH:MM:SSZ`.
*/
readonly "alert-auto-dismissed-at": string | null;
/**
* Dependabot alert dismissal request
* @description Information about an active dismissal request for this Dependabot alert.
*/
"dependabot-alert-dismissal-request-simple": {
/** @description The unique identifier of the dismissal request. */
id?: number;
/**
* @description The current status of the dismissal request.
* @enum {string}
*/
status?: "pending" | "approved" | "rejected" | "cancelled";
/** @description The user who requested the dismissal. */
requester?: {
/** @description The unique identifier of the user. */
id?: number;
/** @description The login name of the user. */
login?: string;
};
/**
* Format: date-time
* @description The date and time when the dismissal request was created.
*/
created_at?: string;
/**
* Format: uri
* @description The API URL to get more information about this dismissal request.
*/
url?: string;
} | null;
/** Dependabot alert auto-reopened event */
"webhook-dependabot-alert-auto-reopened": {
/** @enum {string} */
Expand Down Expand Up @@ -9494,7 +9562,7 @@ export interface components {
* @description How the author is associated with the repository.
* @enum {string}
*/
author_association:
author_association?:
| "COLLABORATOR"
| "CONTRIBUTOR"
| "FIRST_TIMER"
Expand Down Expand Up @@ -52079,8 +52147,6 @@ export interface components {
/** @enum {string} */
type: "pull_request";
parameters?: {
/** @description Request Copilot code review for new pull requests automatically if the author has access to Copilot code review and their premium requests quota has not reached the limit. */
automatic_copilot_code_review_enabled?: boolean;
/** @description New, reviewable commits pushed will dismiss previous pull request review approvals. */
dismiss_stale_reviews_on_push: boolean;
/** @description Require an approving review in pull requests that modify files that have a designated code owner. */
Expand Down
Loading