Remove old non-consolidated actions tools #1681
Open
+127
−3,835
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This pull request removes the legacy, individual GitHub Actions tools from the codebase and documentation, consolidating functionality under the new consolidated set of Actions tools.
Why
Completes https://github.com/github/copilot-agent-services/issues/939
What changed
The most important changes are:
Removal of legacy workflow tools from codebase:
pkg/github/tools.go, including tools likeListWorkflows,ListWorkflowRuns,GetWorkflowRun,GetWorkflowRunLogs,ListWorkflowJobs,GetJobLogs,ListWorkflowRunArtifacts,DownloadWorkflowRunArtifact,GetWorkflowRunUsage,RunWorkflow,RerunWorkflowRun,RerunFailedJobs,CancelWorkflowRun, andDeleteWorkflowRunLogs. Only the consolidatedActions*tools remain.Documentation update:
README.mdto remove documentation for all the deleted legacy workflow tools and parameters, leaving only the consolidatedget_job_logsdocumentation and moving the rest under the new tools section. [1] [2]These changes streamline the codebase by removing redundant and legacy workflow tools in favor of a consolidated, feature-flagged set of Actions tools.
MCP impact
Prompts tested (tool changes only)
Security / limits
Lint & tests
./script/lint./script/testDocs