GET
/repos/{owner}/{repo}/actions/runs/{run_id}/approvalsGet the review history for a workflow run
Anyone with read access to the repository can use this endpoint.
OAuth app tokens and personal access tokens (classic) need the repo scope to use this endpoint with a private repository.
- RetriesRetries up to 2×, 500ms backoff, 30s timeout.
ownerstringrequired
The account owner of the repository. The name is not case sensitive.
repostringrequired
The name of the repository without the `.git` extension. The name is not case sensitive.
run_idintegerrequired
The unique identifier of the workflow run.
200Response
environmentsarray<object>required
The list of environments that were approved or rejected
statestringrequired
Whether deployment to the environment(s) was approved or rejected or pending (with comments)
userobjectrequired
A GitHub user.
commentstringrequired
The comment submitted with the deployment review