Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1512,6 +1512,25 @@ For negotiated supported protocol versions `2026-07-28` or newer, the consolidat
- `since`: Only commits after this date will be returned (ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ or YYYY-MM-DD) (string, optional)
- `until`: Only commits before this date will be returned (ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ or YYYY-MM-DD) (string, optional)

- **list_deployment_statuses** - List deployment statuses
- **OAuth Challenge Scopes**: `repo`
- `deployment_id`: The deployment ID, as returned by list_deployments (number, required)
- `owner`: Repository owner (string, required)
- `page`: Page number for pagination (min 1) (number, optional)
- `perPage`: Results per page for pagination (min 1, max 100) (number, optional)
- `repo`: Repository name (string, required)

- **list_deployments** - List deployments
- **OAuth Challenge Scopes**: `repo`
- `environment`: Only return deployments to this environment (e.g. 'production' or 'staging') (string, optional)
- `owner`: Repository owner (string, required)
- `page`: Page number for pagination (min 1) (number, optional)
- `perPage`: Results per page for pagination (min 1, max 100) (number, optional)
- `ref`: Only return deployments of this ref (branch, tag or SHA name) (string, optional)
- `repo`: Repository name (string, required)
- `sha`: Only return deployments of this commit SHA (string, optional)
- `task`: Only return deployments with this task name (e.g. 'deploy' or 'deploy:migrations') (string, optional)

- **list_releases** - List releases
- **OAuth Challenge Scopes**: `repo`
- `fields`: Subset of fields to return for each release. If omitted, all fields are returned. Use this to reduce response size when you only need specific fields; omitting 'body' in particular drops the largest per-release data. (string[], optional)
Expand Down
42 changes: 42 additions & 0 deletions pkg/github/__toolsnaps__/list_deployment_statuses.snap
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"annotations": {
"idempotentHint": false,
"readOnlyHint": true,
"title": "List deployment statuses"
},
"description": "List the statuses of a deployment in a GitHub repository, newest first. The first status is the deployment's current state (e.g. success, failure, error, in_progress, queued, pending or inactive).",
"inputSchema": {
"properties": {
"deployment_id": {
"description": "The deployment ID, as returned by list_deployments",
"type": "number"
},
"owner": {
"description": "Repository owner",
"type": "string"
},
"page": {
"description": "Page number for pagination (min 1)",
"minimum": 1,
"type": "number"
},
"perPage": {
"description": "Results per page for pagination (min 1, max 100)",
"maximum": 100,
"minimum": 1,
"type": "number"
},
"repo": {
"description": "Repository name",
"type": "string"
}
},
"required": [
"owner",
"repo",
"deployment_id"
],
"type": "object"
},
"name": "list_deployment_statuses"
}
53 changes: 53 additions & 0 deletions pkg/github/__toolsnaps__/list_deployments.snap
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{
"annotations": {
"idempotentHint": false,
"readOnlyHint": true,
"title": "List deployments"
},
"description": "List deployments in a GitHub repository, newest first. Filter by commit SHA, ref, task or environment to find which commit was deployed where. Use list_deployment_statuses to see whether a deployment succeeded.",
"inputSchema": {
"properties": {
"environment": {
"description": "Only return deployments to this environment (e.g. 'production' or 'staging')",
"type": "string"
},
"owner": {
"description": "Repository owner",
"type": "string"
},
"page": {
"description": "Page number for pagination (min 1)",
"minimum": 1,
"type": "number"
},
"perPage": {
"description": "Results per page for pagination (min 1, max 100)",
"maximum": 100,
"minimum": 1,
"type": "number"
},
"ref": {
"description": "Only return deployments of this ref (branch, tag or SHA name)",
"type": "string"
},
"repo": {
"description": "Repository name",
"type": "string"
},
"sha": {
"description": "Only return deployments of this commit SHA",
"type": "string"
},
"task": {
"description": "Only return deployments with this task name (e.g. 'deploy' or 'deploy:migrations')",
"type": "string"
}
},
"required": [
"owner",
"repo"
],
"type": "object"
},
"name": "list_deployments"
}
Loading