Skip to content

Commit

Permalink
FEAT: updates docs, updates workflow-run-requested[hub_url is no long…
Browse files Browse the repository at this point in the history
…er required], adds values to job.status enum [waiting, requested, pending]
  • Loading branch information
nickfloyd committed Mar 15, 2024
2 parents 43b9072 + 7ddb34c commit 0509599
Show file tree
Hide file tree
Showing 7 changed files with 231 additions and 49 deletions.
40 changes: 33 additions & 7 deletions cache/api.github.com.json
Expand Up @@ -18590,7 +18590,11 @@
"followers_url": { "type": "string", "format": "uri-template" },
"following_url": { "type": "string", "format": "uri-template" },
"gists_url": { "type": "string", "format": "uri-template" },
"hub_url": { "type": "string", "format": "uri-template" },
"hub_url": {
"type": "string",
"format": "uri-template",
"deprecated": true
},
"issue_search_url": { "type": "string", "format": "uri-template" },
"issues_url": { "type": "string", "format": "uri-template" },
"keys_url": { "type": "string", "format": "uri-template" },
Expand Down Expand Up @@ -18643,7 +18647,6 @@
"followers_url",
"following_url",
"gists_url",
"hub_url",
"issue_search_url",
"issues_url",
"keys_url",
Expand Down Expand Up @@ -29363,7 +29366,14 @@
"status": {
"description": "The phase of the lifecycle that the job is currently in.",
"type": "string",
"enum": ["queued", "in_progress", "completed", "waiting"],
"enum": [
"queued",
"in_progress",
"completed",
"waiting",
"requested",
"pending"
],
"examples": ["queued"]
},
"conclusion": {
Expand Down Expand Up @@ -31434,9 +31444,16 @@
"examples": ["https://example.com"]
},
"status": {
"description": "The phase of the lifecycle that the check is currently in.",
"description": "The phase of the lifecycle that the check is currently in. Statuses of waiting, requested, and pending are reserved for GitHub Actions check runs.",
"type": "string",
"enum": ["queued", "in_progress", "completed"],
"enum": [
"queued",
"in_progress",
"completed",
"waiting",
"requested",
"pending"
],
"examples": ["queued"]
},
"conclusion": {
Expand Down Expand Up @@ -31578,7 +31595,16 @@
},
"status": {
"type": ["string", "null"],
"enum": ["queued", "in_progress", "completed", null],
"description": "The phase of the lifecycle that the check suite is currently in. Statuses of waiting, requested, and pending are reserved for GitHub Actions check suites.",
"enum": [
"queued",
"in_progress",
"completed",
"waiting",
"requested",
"pending",
null
],
"examples": ["completed"]
},
"conclusion": {
Expand Down Expand Up @@ -163787,7 +163813,7 @@
},
"workflow-run-status": {
"name": "status",
"description": "Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status can be `in_progress`. Only GitHub can set a status of `waiting` or `requested`.",
"description": "Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status can be `in_progress`. Only GitHub Actions can set a status of `waiting`, `pending`, or `requested`.",
"in": "query",
"required": false,
"schema": {
Expand Down
40 changes: 33 additions & 7 deletions cache/ghec.json
Expand Up @@ -18596,7 +18596,11 @@
"followers_url": { "type": "string", "format": "uri-template" },
"following_url": { "type": "string", "format": "uri-template" },
"gists_url": { "type": "string", "format": "uri-template" },
"hub_url": { "type": "string", "format": "uri-template" },
"hub_url": {
"type": "string",
"format": "uri-template",
"deprecated": true
},
"issue_search_url": { "type": "string", "format": "uri-template" },
"issues_url": { "type": "string", "format": "uri-template" },
"keys_url": { "type": "string", "format": "uri-template" },
Expand Down Expand Up @@ -18649,7 +18653,6 @@
"followers_url",
"following_url",
"gists_url",
"hub_url",
"issue_search_url",
"issues_url",
"keys_url",
Expand Down Expand Up @@ -30410,7 +30413,14 @@
"status": {
"description": "The phase of the lifecycle that the job is currently in.",
"type": "string",
"enum": ["queued", "in_progress", "completed", "waiting"],
"enum": [
"queued",
"in_progress",
"completed",
"waiting",
"requested",
"pending"
],
"examples": ["queued"]
},
"conclusion": {
Expand Down Expand Up @@ -32481,9 +32491,16 @@
"examples": ["https://example.com"]
},
"status": {
"description": "The phase of the lifecycle that the check is currently in.",
"description": "The phase of the lifecycle that the check is currently in. Statuses of waiting, requested, and pending are reserved for GitHub Actions check runs.",
"type": "string",
"enum": ["queued", "in_progress", "completed"],
"enum": [
"queued",
"in_progress",
"completed",
"waiting",
"requested",
"pending"
],
"examples": ["queued"]
},
"conclusion": {
Expand Down Expand Up @@ -32625,7 +32642,16 @@
},
"status": {
"type": ["string", "null"],
"enum": ["queued", "in_progress", "completed", null],
"description": "The phase of the lifecycle that the check suite is currently in. Statuses of waiting, requested, and pending are reserved for GitHub Actions check suites.",
"enum": [
"queued",
"in_progress",
"completed",
"waiting",
"requested",
"pending",
null
],
"examples": ["completed"]
},
"conclusion": {
Expand Down Expand Up @@ -166555,7 +166581,7 @@
},
"workflow-run-status": {
"name": "status",
"description": "Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status can be `in_progress`. Only GitHub can set a status of `waiting` or `requested`.",
"description": "Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status can be `in_progress`. Only GitHub Actions can set a status of `waiting`, `pending`, or `requested`.",
"in": "query",
"required": false,
"schema": {
Expand Down
40 changes: 33 additions & 7 deletions cache/ghes-3.10.json
Expand Up @@ -19821,7 +19821,11 @@
"followers_url": { "type": "string", "format": "uri-template" },
"following_url": { "type": "string", "format": "uri-template" },
"gists_url": { "type": "string", "format": "uri-template" },
"hub_url": { "type": "string", "format": "uri-template" },
"hub_url": {
"type": "string",
"format": "uri-template",
"deprecated": true
},
"issue_search_url": { "type": "string", "format": "uri-template" },
"issues_url": { "type": "string", "format": "uri-template" },
"keys_url": { "type": "string", "format": "uri-template" },
Expand Down Expand Up @@ -19874,7 +19878,6 @@
"followers_url",
"following_url",
"gists_url",
"hub_url",
"issue_search_url",
"issues_url",
"keys_url",
Expand Down Expand Up @@ -28912,7 +28915,14 @@
"status": {
"description": "The phase of the lifecycle that the job is currently in.",
"type": "string",
"enum": ["queued", "in_progress", "completed", "waiting"],
"enum": [
"queued",
"in_progress",
"completed",
"waiting",
"requested",
"pending"
],
"examples": ["queued"]
},
"conclusion": {
Expand Down Expand Up @@ -30825,9 +30835,16 @@
"examples": ["https://example.com"]
},
"status": {
"description": "The phase of the lifecycle that the check is currently in.",
"description": "The phase of the lifecycle that the check is currently in. Statuses of waiting, requested, and pending are reserved for GitHub Actions check runs.",
"type": "string",
"enum": ["queued", "in_progress", "completed"],
"enum": [
"queued",
"in_progress",
"completed",
"waiting",
"requested",
"pending"
],
"examples": ["queued"]
},
"conclusion": {
Expand Down Expand Up @@ -30969,7 +30986,16 @@
},
"status": {
"type": ["string", "null"],
"enum": ["queued", "in_progress", "completed", null],
"description": "The phase of the lifecycle that the check suite is currently in. Statuses of waiting, requested, and pending are reserved for GitHub Actions check suites.",
"enum": [
"queued",
"in_progress",
"completed",
"waiting",
"requested",
"pending",
null
],
"examples": ["completed"]
},
"conclusion": {
Expand Down Expand Up @@ -154911,7 +154937,7 @@
},
"workflow-run-status": {
"name": "status",
"description": "Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status can be `in_progress`. Only GitHub can set a status of `waiting` or `requested`.",
"description": "Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status can be `in_progress`. Only GitHub Actions can set a status of `waiting`, `pending`, or `requested`.",
"in": "query",
"required": false,
"schema": {
Expand Down
40 changes: 33 additions & 7 deletions cache/ghes-3.11.json
Expand Up @@ -20196,7 +20196,11 @@
"followers_url": { "type": "string", "format": "uri-template" },
"following_url": { "type": "string", "format": "uri-template" },
"gists_url": { "type": "string", "format": "uri-template" },
"hub_url": { "type": "string", "format": "uri-template" },
"hub_url": {
"type": "string",
"format": "uri-template",
"deprecated": true
},
"issue_search_url": { "type": "string", "format": "uri-template" },
"issues_url": { "type": "string", "format": "uri-template" },
"keys_url": { "type": "string", "format": "uri-template" },
Expand Down Expand Up @@ -20249,7 +20253,6 @@
"followers_url",
"following_url",
"gists_url",
"hub_url",
"issue_search_url",
"issues_url",
"keys_url",
Expand Down Expand Up @@ -30218,7 +30221,14 @@
"status": {
"description": "The phase of the lifecycle that the job is currently in.",
"type": "string",
"enum": ["queued", "in_progress", "completed", "waiting"],
"enum": [
"queued",
"in_progress",
"completed",
"waiting",
"requested",
"pending"
],
"examples": ["queued"]
},
"conclusion": {
Expand Down Expand Up @@ -32193,9 +32203,16 @@
"examples": ["https://example.com"]
},
"status": {
"description": "The phase of the lifecycle that the check is currently in.",
"description": "The phase of the lifecycle that the check is currently in. Statuses of waiting, requested, and pending are reserved for GitHub Actions check runs.",
"type": "string",
"enum": ["queued", "in_progress", "completed"],
"enum": [
"queued",
"in_progress",
"completed",
"waiting",
"requested",
"pending"
],
"examples": ["queued"]
},
"conclusion": {
Expand Down Expand Up @@ -32337,7 +32354,16 @@
},
"status": {
"type": ["string", "null"],
"enum": ["queued", "in_progress", "completed", null],
"description": "The phase of the lifecycle that the check suite is currently in. Statuses of waiting, requested, and pending are reserved for GitHub Actions check suites.",
"enum": [
"queued",
"in_progress",
"completed",
"waiting",
"requested",
"pending",
null
],
"examples": ["completed"]
},
"conclusion": {
Expand Down Expand Up @@ -156988,7 +157014,7 @@
},
"workflow-run-status": {
"name": "status",
"description": "Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status can be `in_progress`. Only GitHub can set a status of `waiting` or `requested`.",
"description": "Returns workflow runs with the check run `status` or `conclusion` that you specify. For example, a conclusion can be `success` or a status can be `in_progress`. Only GitHub Actions can set a status of `waiting`, `pending`, or `requested`.",
"in": "query",
"required": false,
"schema": {
Expand Down

0 comments on commit 0509599

Please sign in to comment.