Skip to content

Commit b6d74df

Browse files
committed
fix: add waiting state to deployment_status, check_run and workflow_run event
Ref: octokit/webhooks.net#52
1 parent d5c2bd2 commit b6d74df

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

payload-schemas/api.github.com/check_run/created.schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"details_url": { "type": "string", "format": "uri" },
3838
"status": {
3939
"type": "string",
40-
"enum": ["queued", "in_progress", "completed"],
40+
"enum": ["queued", "in_progress", "completed", "waiting"],
4141
"description": "The current status of the check run. Can be `queued`, `in_progress`, or `completed`."
4242
},
4343
"conclusion": {

payload-schemas/api.github.com/check_run/requested_action.schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@
119119
},
120120
"status": {
121121
"type": "string",
122-
"enum": ["queued", "in_progress", "completed"]
122+
"enum": ["queued", "in_progress", "completed", "waiting"]
123123
},
124124
"conclusion": {
125125
"type": ["string", "null"],

payload-schemas/api.github.com/common/workflow-run.schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@
105105
"run_number": { "type": "integer" },
106106
"status": {
107107
"type": "string",
108-
"enum": ["requested", "in_progress", "completed", "queued"]
108+
"enum": ["requested", "in_progress", "completed", "queued", "waiting"]
109109
},
110110
"updated_at": { "type": "string", "format": "date-time" },
111111
"url": { "type": "string", "format": "uri" },

payload-schemas/api.github.com/deployment_status/created.schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
"details_url": { "type": "string", "format": "uri" },
9898
"status": {
9999
"type": "string",
100-
"enum": ["queued", "in_progress", "completed"],
100+
"enum": ["queued", "in_progress", "completed", "waiting"],
101101
"description": "The current status of the check run. Can be `queued`, `in_progress`, or `completed`."
102102
},
103103
"conclusion": {

0 commit comments

Comments
 (0)