Github API - Test Config

GET /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments
actions
repos

Get all deployment environments for a workflow run that are waiting for protection rules to pass.

Anyone with read access to the repository can use this endpoint. If the repository is private, you must use an access token with the repo scope. GitHub Apps must have the actions:read permission to use this endpoint.
Get pending deployments for a workflow run

Arguments
key owner

owner [scalar]

The account owner of the repository. The name is not case sensitive.

API:
Github Open API
(version: 1.1.4)

key repo

repo [scalar]

The name of the repository. The name is not case sensitive.

API:
Github Open API
(version: 1.1.4)

key run-id

run-id [scalar]

The unique identifier of the workflow run.

API:
Github Open API
(version: 1.1.4)

Returns
200 application/json pending-deployment []

pending-deployment [object]

Details of a deployment that is waiting for protection rules to pass

Attributes
current_user_can_approve boolean

Whether the currently authenticated user can approve the deployment

environment 2050

reviewers 2051 []

wait_timer integer

The set duration of the wait timer

wait_timer_started_at string

The time that the wait timer began.

API:
Github Open API
(version: 1.1.4)
API:
Github Open API
(version: 1.1.4)