github_repos_list_deployments
List deployments from a GitHub repository by owner and repo name, with optional filters for SHA, ref, task, environment, and pagination.
Instructions
List deployments
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| owner | Yes | owner | |
| repo | Yes | repo | |
| sha | No | The SHA recorded at creation time. | |
| ref | No | The name of the ref. This can be a branch, tag, or SHA. | |
| task | No | The name of the task for the deployment (e.g., `deploy` or `deploy:migrations`). | |
| environment | No | The name of the environment that was deployed to (e.g., `staging` or `production`). | |
| per_page | No | The number of results per page (max 100). For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." | |
| page | No | The page number of the results to fetch. For more information, see "[Using pagination in the REST API](https://docs.github.com/rest/using-the-rest-api/using-pagination-in-the-rest-api)." |