diff --git a/payload-schemas/api.github.com/check_suite/completed.schema.json b/payload-schemas/api.github.com/check_suite/completed.schema.json index 5fff54b0f..1adc3eee0 100644 --- a/payload-schemas/api.github.com/check_suite/completed.schema.json +++ b/payload-schemas/api.github.com/check_suite/completed.schema.json @@ -62,7 +62,7 @@ "description": "URL that points to the check suite API resource." }, "before": { "type": ["string", "null"] }, - "after": { "type": "string" }, + "after": { "type": ["string", "null"] }, "pull_requests": { "type": "array", "items": { "$ref": "common/check-run-pull-request.schema.json" }, diff --git a/payload-schemas/api.github.com/check_suite/requested.schema.json b/payload-schemas/api.github.com/check_suite/requested.schema.json index 57a8a7844..c70468b6b 100644 --- a/payload-schemas/api.github.com/check_suite/requested.schema.json +++ b/payload-schemas/api.github.com/check_suite/requested.schema.json @@ -62,7 +62,7 @@ "description": "URL that points to the check suite API resource." }, "before": { "type": ["string", "null"] }, - "after": { "type": "string" }, + "after": { "type": ["string", "null"] }, "pull_requests": { "type": "array", "items": { "$ref": "common/check-run-pull-request.schema.json" }, diff --git a/payload-schemas/api.github.com/check_suite/rerequested.schema.json b/payload-schemas/api.github.com/check_suite/rerequested.schema.json index a6dd6001a..411281290 100644 --- a/payload-schemas/api.github.com/check_suite/rerequested.schema.json +++ b/payload-schemas/api.github.com/check_suite/rerequested.schema.json @@ -62,7 +62,7 @@ "description": "URL that points to the check suite API resource." }, "before": { "type": ["string", "null"] }, - "after": { "type": "string" }, + "after": { "type": ["string", "null"] }, "pull_requests": { "type": "array", "items": { "$ref": "common/check-run-pull-request.schema.json" }, diff --git a/payload-types/schema.d.ts b/payload-types/schema.d.ts index 1f2792464..68935b95a 100644 --- a/payload-types/schema.d.ts +++ b/payload-types/schema.d.ts @@ -1262,7 +1262,7 @@ export interface CheckSuiteCompletedEvent { */ url: string; before: string | null; - after: string; + after: string | null; /** * An array of pull requests that match this check suite. A pull request matches a check suite if they have the same `head_sha` and `head_branch`. When the check suite's `head_branch` is in a forked repository it will be `null` and the `pull_requests` array will be empty. */ @@ -1339,7 +1339,7 @@ export interface CheckSuiteRequestedEvent { */ url: string; before: string | null; - after: string; + after: string | null; /** * An array of pull requests that match this check suite. A pull request matches a check suite if they have the same `head_sha` and `head_branch`. When the check suite's `head_branch` is in a forked repository it will be `null` and the `pull_requests` array will be empty. */ @@ -1393,7 +1393,7 @@ export interface CheckSuiteRerequestedEvent { */ url: string; before: string | null; - after: string; + after: string | null; /** * An array of pull requests that match this check suite. A pull request matches a check suite if they have the same `head_sha` and `head_branch`. When the check suite's `head_branch` is in a forked repository it will be `null` and the `pull_requests` array will be empty. */