mirror of
https://github.com/anthropics/claude-code-action.git
synced 2026-01-22 22:44:13 +08:00
fix: wrap github MCP config with mcpServers in issue-triage workflow
Update the MCP configuration structure to properly wrap the github server configuration within an mcpServers object, matching the expected format for MCP config files. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
26
.github/workflows/issue-triage.yml
vendored
26
.github/workflows/issue-triage.yml
vendored
@@ -23,18 +23,20 @@ jobs:
|
|||||||
mkdir -p /tmp/mcp-config
|
mkdir -p /tmp/mcp-config
|
||||||
cat > /tmp/mcp-config/mcp-servers.json << 'EOF'
|
cat > /tmp/mcp-config/mcp-servers.json << 'EOF'
|
||||||
{
|
{
|
||||||
"github": {
|
"mcpServers": {
|
||||||
"command": "docker",
|
"github": {
|
||||||
"args": [
|
"command": "docker",
|
||||||
"run",
|
"args": [
|
||||||
"-i",
|
"run",
|
||||||
"--rm",
|
"-i",
|
||||||
"-e",
|
"--rm",
|
||||||
"GITHUB_PERSONAL_ACCESS_TOKEN",
|
"-e",
|
||||||
"ghcr.io/github/github-mcp-server:sha-7aced2b"
|
"GITHUB_PERSONAL_ACCESS_TOKEN",
|
||||||
],
|
"ghcr.io/github/github-mcp-server:sha-7aced2b"
|
||||||
"env": {
|
],
|
||||||
"GITHUB_PERSONAL_ACCESS_TOKEN": "${{ secrets.GITHUB_TOKEN }}"
|
"env": {
|
||||||
|
"GITHUB_PERSONAL_ACCESS_TOKEN": "${{ secrets.GITHUB_TOKEN }}"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user