Fix artifacts-summary workflow GitHub MCP toolset configuration#2495
Merged
Fix artifacts-summary workflow GitHub MCP toolset configuration#2495
Conversation
Replace non-existent tool names in allowed list with proper toolset configuration. The workflow was attempting to use GitHub MCP tools that don't exist: - list_workflows - list_workflow_runs - list_workflow_run_artifacts Changed to use toolset: [actions, repos] which provides the actual GitHub API access needed for workflow and artifact analysis. This matches the pattern used in other working workflows like dev-hawk and smoke-detector. Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix artifacts-summary workflow GitHub toolset configuration
Fix artifacts-summary workflow GitHub MCP toolset configuration
Oct 26, 2025
pelikhan
approved these changes
Oct 26, 2025
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR fixes a configuration error in the artifacts-summary workflow that was causing it to fail. The workflow was attempting to use non-existent GitHub MCP tools (list_workflows, list_workflow_runs, list_workflow_run_artifacts) in its allowed list. The fix replaces this with the correct toolset configuration that provides access to the necessary GitHub Actions APIs.
Key Changes:
- Replaced invalid
allowedtool list withtoolset: [actions, repos]configuration - Updated the compiled
.lock.ymlfile to reflect the new toolset configuration
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
.github/workflows/artifacts-summary.md |
Updated GitHub tools configuration from invalid allowed list to valid toolset array |
.github/workflows/artifacts-summary.lock.yml |
Regenerated lock file with correct GitHub MCP toolset configuration and CLI arguments |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Contributor
|
Agentic Changeset Generator triggered by this pull request. |
Contributor
Smoke Test ResultsLast 2 merged PRs:
Test Results:
Status: PARTIAL PASS
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The artifacts-summary workflow was failing because it specified non-existent GitHub MCP tools in its
allowedlist (list_workflows,list_workflow_runs,list_workflow_run_artifacts). The GitHub MCP server organizes capabilities into toolsets, not individual tool names.Changes
allowedlist withtoolset: [actions, repos]configurationdev-hawk.mdandsmoke-detector.mdworkflowsBefore:
After:
The
actionstoolset provides access to workflows, runs, and artifacts APIs. Therepostoolset provides repository-level access for the analysis.Fixes #2490
Original prompt
This section details on the original issue you should resolve
<issue_title>[q] Fix artifacts-summary workflow GitHub toolset configuration</issue_title>
<issue_description># Q Workflow Optimization Report
Issues Found (from live data)
artifacts-summary (.github/workflows/artifacts-summary.md)
list_workflows❌ (does not exist)list_workflow_runs❌ (does not exist)list_workflow_run_artifacts❌ (does not exist)allowedlist with tool names that don't exist in the GitHub MCP serverChanges Made
artifacts-summary.md
Before:
After:
Why this fixes the issue:
list_workflows,list_workflow_runs, orlist_workflow_run_artifactsactionstoolsetrepostoolset provides repository-level access needed for the analysisdev-hawk,smoke-detector)Expected Improvements
actionstoolsetValidation
✅ Workflow compiled successfully using the
compiletool from gh-aw MCP server✅ MCP inspection confirms all 46 GitHub tools are now accessible
✅ No compilation errors or warnings
Note: .lock.yml file will be generated automatically after merge.
References
/tmp/gh-aw/aw-mcp/logs/toolset: [actions, ...])Related Issue
Fixes githubnext/gh-aw#2490- User requested update to GitHub toolsets for artifacts workflow after observing missing tool errors in run githubnext/gh-aw#18810355435Show patch (49 lines)