Skip to content

Commit

Permalink
feat: check runs status & conclusion enums (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
octokitbot authored Jan 5, 2021
1 parent c6524d8 commit 5222eb7
Show file tree
Hide file tree
Showing 28 changed files with 1,460 additions and 32 deletions.
91 changes: 89 additions & 2 deletions cache/api.github.com.deref.json
Original file line number Diff line number Diff line change
Expand Up @@ -117922,6 +117922,15 @@
"conclusion": {
"type": "string",
"example": "neutral",
"enum": [
"success",
"failure",
"neutral",
"cancelled",
"skipped",
"timed_out",
"action_required"
],
"nullable": true
},
"started_at": {
Expand Down Expand Up @@ -118643,6 +118652,15 @@
"conclusion": {
"type": "string",
"example": "neutral",
"enum": [
"success",
"failure",
"neutral",
"cancelled",
"skipped",
"timed_out",
"action_required"
],
"nullable": true
},
"started_at": {
Expand Down Expand Up @@ -119488,6 +119506,15 @@
"conclusion": {
"type": "string",
"example": "neutral",
"enum": [
"success",
"failure",
"neutral",
"cancelled",
"skipped",
"timed_out",
"action_required"
],
"nullable": true
},
"started_at": {
Expand Down Expand Up @@ -120272,11 +120299,25 @@
"status": {
"type": "string",
"example": "completed",
"enum": [
"queued",
"in_progress",
"completed"
],
"nullable": true
},
"conclusion": {
"type": "string",
"example": "neutral",
"enum": [
"success",
"failure",
"neutral",
"cancelled",
"skipped",
"timed_out",
"action_required"
],
"nullable": true
},
"url": {
Expand Down Expand Up @@ -122751,11 +122792,25 @@
"status": {
"type": "string",
"example": "completed",
"enum": [
"queued",
"in_progress",
"completed"
],
"nullable": true
},
"conclusion": {
"type": "string",
"example": "neutral",
"enum": [
"success",
"failure",
"neutral",
"cancelled",
"skipped",
"timed_out",
"action_required"
],
"nullable": true
},
"url": {
Expand Down Expand Up @@ -124092,6 +124147,15 @@
"conclusion": {
"type": "string",
"example": "neutral",
"enum": [
"success",
"failure",
"neutral",
"cancelled",
"skipped",
"timed_out",
"action_required"
],
"nullable": true
},
"started_at": {
Expand Down Expand Up @@ -136641,6 +136705,15 @@
"conclusion": {
"type": "string",
"example": "neutral",
"enum": [
"success",
"failure",
"neutral",
"cancelled",
"skipped",
"timed_out",
"action_required"
],
"nullable": true
},
"started_at": {
Expand Down Expand Up @@ -137304,11 +137377,25 @@
"status": {
"type": "string",
"example": "completed",
"enum": [
"queued",
"in_progress",
"completed"
],
"nullable": true
},
"conclusion": {
"type": "string",
"example": "neutral",
"enum": [
"success",
"failure",
"neutral",
"cancelled",
"skipped",
"timed_out",
"action_required"
],
"nullable": true
},
"url": {
Expand Down Expand Up @@ -139585,7 +139672,7 @@
"/repos/{owner}/{repo}/community/code_of_conduct": {
"get": {
"summary": "Get the code of conduct for a repository",
"description": "This method returns the contents of the repository's code of conduct file, if one is detected.",
"description": "Returns the contents of the repository's code of conduct file, if one is detected.\n\nA code of conduct is detected if there is a file named `CODE_OF_CONDUCT` in the root directory of the repository. GitHub detects which code of conduct it is using fuzzy matching.",
"tags": [
"codes-of-conduct"
],
Expand Down Expand Up @@ -139685,7 +139772,7 @@
"/repos/{owner}/{repo}/community/profile": {
"get": {
"summary": "Get community profile metrics",
"description": "This endpoint will return all community profile metrics, including an\noverall health score, repository description, the presence of documentation, detected\ncode of conduct, detected license, and the presence of ISSUE\\_TEMPLATE, PULL\\_REQUEST\\_TEMPLATE,\nREADME, and CONTRIBUTING files.\n\n`content_reports_enabled` is only returned for organization-owned repositories.",
"description": "This endpoint will return all community profile metrics, including an\noverall health score, repository description, the presence of documentation, detected\ncode of conduct, detected license, and the presence of ISSUE\\_TEMPLATE, PULL\\_REQUEST\\_TEMPLATE,\nREADME, and CONTRIBUTING files.\n\nThe `health_percentage` score is defined as a percentage of how many of\nthese four documents are present: README, CONTRIBUTING, LICENSE, and\nCODE_OF_CONDUCT. For example, if all four documents are present, then\nthe `health_percentage` is `100`. If only one is present, then the\n`health_percentage` is `25`.\n\n`content_reports_enabled` is only returned for organization-owned repositories.",
"tags": [
"repos"
],
Expand Down
27 changes: 25 additions & 2 deletions cache/api.github.com.json
Original file line number Diff line number Diff line change
Expand Up @@ -24612,7 +24612,7 @@
"/repos/{owner}/{repo}/community/code_of_conduct": {
"get": {
"summary": "Get the code of conduct for a repository",
"description": "This method returns the contents of the repository's code of conduct file, if one is detected.",
"description": "Returns the contents of the repository's code of conduct file, if one is detected.\n\nA code of conduct is detected if there is a file named `CODE_OF_CONDUCT` in the root directory of the repository. GitHub detects which code of conduct it is using fuzzy matching.",
"tags": [
"codes-of-conduct"
],
Expand Down Expand Up @@ -24664,7 +24664,7 @@
"/repos/{owner}/{repo}/community/profile": {
"get": {
"summary": "Get community profile metrics",
"description": "This endpoint will return all community profile metrics, including an\noverall health score, repository description, the presence of documentation, detected\ncode of conduct, detected license, and the presence of ISSUE\\_TEMPLATE, PULL\\_REQUEST\\_TEMPLATE,\nREADME, and CONTRIBUTING files.\n\n`content_reports_enabled` is only returned for organization-owned repositories.",
"description": "This endpoint will return all community profile metrics, including an\noverall health score, repository description, the presence of documentation, detected\ncode of conduct, detected license, and the presence of ISSUE\\_TEMPLATE, PULL\\_REQUEST\\_TEMPLATE,\nREADME, and CONTRIBUTING files.\n\nThe `health_percentage` score is defined as a percentage of how many of\nthese four documents are present: README, CONTRIBUTING, LICENSE, and\nCODE_OF_CONDUCT. For example, if all four documents are present, then\nthe `health_percentage` is `100`. If only one is present, then the\n`health_percentage` is `25`.\n\n`content_reports_enabled` is only returned for organization-owned repositories.",
"tags": [
"repos"
],
Expand Down Expand Up @@ -58100,6 +58100,15 @@
"conclusion": {
"type": "string",
"example": "neutral",
"enum": [
"success",
"failure",
"neutral",
"cancelled",
"skipped",
"timed_out",
"action_required"
],
"nullable": true
},
"started_at": {
Expand Down Expand Up @@ -58285,11 +58294,25 @@
"status": {
"type": "string",
"example": "completed",
"enum": [
"queued",
"in_progress",
"completed"
],
"nullable": true
},
"conclusion": {
"type": "string",
"example": "neutral",
"enum": [
"success",
"failure",
"neutral",
"cancelled",
"skipped",
"timed_out",
"action_required"
],
"nullable": true
},
"url": {
Expand Down
Loading

0 comments on commit 5222eb7

Please sign in to comment.