Skip to content

Commit 6ca7bcc

Browse files
refactor(actions): type consolidated MCP tools
Preserve legacy Actions payloads, validation ordering, coercions, IFC labels, and scope annotations while exposing concrete method-specific output unions to supported clients. Reject unrecognized versions in the shared structured-output capability gate without changing tool availability rules. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
1 parent 8052833 commit 6ca7bcc

11 files changed

Lines changed: 4413 additions & 358 deletions

‎README.md‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -631,7 +631,7 @@ The issue metadata (`list_issue_types`, `list_issue_fields`), comment (`add_issu
631631

632632
- **actions_get** - Get details of GitHub Actions resources (workflows, workflow runs, jobs, and artifacts)
633633
- **OAuth Challenge Scopes**: `repo`
634-
- `method`: The method to execute (string, required)
634+
- `method`: The method to execute Supported values: get_workflow, get_workflow_run, get_workflow_job, download_workflow_run_artifact, get_workflow_run_usage, get_workflow_run_logs_url. (string, required)
635635
- `owner`: Repository owner (string, required)
636636
- `repo`: Repository name (string, required)
637637
- `resource_id`: The unique identifier of the resource. This will vary based on the "method" provided, so ensure you provide the correct ID:
@@ -643,7 +643,7 @@ The issue metadata (`list_issue_types`, `list_issue_fields`), comment (`add_issu
643643

644644
- **actions_list** - List GitHub Actions workflows in a repository
645645
- **OAuth Challenge Scopes**: `repo`
646-
- `method`: The action to perform (string, required)
646+
- `method`: The action to perform Supported values: list_workflows, list_workflow_runs, list_workflow_jobs, list_workflow_run_artifacts. (string, required)
647647
- `owner`: Repository owner (string, required)
648648
- `page`: Page number for pagination (default: 1) (number, optional)
649649
- `perPage`: Results per page for pagination (default: 30, max: 100) (number, optional)
@@ -653,13 +653,13 @@ The issue metadata (`list_issue_types`, `list_issue_fields`), comment (`add_issu
653653
- Provide a workflow ID or workflow file name (e.g. ci.yaml) for 'list_workflow_runs' method, or omit to list all workflow runs in the repository.
654654
- Provide a workflow run ID for 'list_workflow_jobs' and 'list_workflow_run_artifacts' methods.
655655
(string, optional)
656-
- `workflow_jobs_filter`: Filters for workflow jobs. **ONLY** used when method is 'list_workflow_jobs' (object, optional)
657-
- `workflow_runs_filter`: Filters for workflow runs. **ONLY** used when method is 'list_workflow_runs' (object, optional)
656+
- `workflow_jobs_filter`: Filters for workflow jobs. **ONLY** used when method is 'list_workflow_jobs' (object | any, optional)
657+
- `workflow_runs_filter`: Filters for workflow runs. **ONLY** used when method is 'list_workflow_runs' (object | any, optional)
658658

659659
- **actions_run_trigger** - Trigger GitHub Actions workflow actions
660660
- **OAuth Challenge Scopes**: `repo`
661661
- `inputs`: Inputs the workflow accepts. Only used for 'run_workflow' method. (object, optional)
662-
- `method`: The method to execute (string, required)
662+
- `method`: The method to execute Supported values: run_workflow, rerun_workflow_run, rerun_failed_jobs, cancel_workflow_run, delete_workflow_run_logs. (string, required)
663663
- `owner`: Repository owner (string, required)
664664
- `ref`: The git reference for the workflow. The reference can be a branch or tag name. Required for 'run_workflow' method. (string, optional)
665665
- `repo`: Repository name (string, required)

0 commit comments

Comments
 (0)