Skip to content

Commit

Permalink
fix: update the pull_request property with the pull_request schema (#393
Browse files Browse the repository at this point in the history
)
  • Loading branch information
wolfy1339 authored Mar 2, 2021
1 parent 26388a8 commit 126e9d8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion payload-schemas/schemas/common/workflow-run.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,10 @@
"jobs_url": { "type": "string", "format": "uri" },
"logs_url": { "type": "string", "format": "uri" },
"node_id": { "type": "string" },
"pull_requests": { "type": "array", "items": {} },
"pull_requests": {
"type": "array",
"items": { "$ref": "pull-request.schema.json" }
},
"repository": {
"type": "object",
"required": [
Expand Down
2 changes: 1 addition & 1 deletion schema.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4978,7 +4978,7 @@ export interface WorkflowRun {
jobs_url: string;
logs_url: string;
node_id: string;
pull_requests: unknown[];
pull_requests: PullRequest[];
repository: {
archive_url: string;
assignees_url: string;
Expand Down

0 comments on commit 126e9d8

Please sign in to comment.