Skip to content

Commit 4b9055f

Browse files
committed
Fix formatting in copilot configuration and remove unused environment variables
1 parent 683e16d commit 4b9055f

1 file changed

Lines changed: 2 additions & 15 deletions

File tree

.github/workflows/copilot-test-tools.yml

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ jobs:
1212
- run: npm install -g @github/copilot
1313
- run: |
1414
mkdir -p ~/.copilot
15-
cat > ~/.copilot/mcp-config.json << EOF
15+
cat > ~/.copilot/mcp-config.json << 'EOF'
1616
{
1717
"mcpServers": {
1818
"actions-toolkit-mcp": {
1919
"type": "local",
2020
"command": "npx",
21-
"tools": [ "*" ],
21+
"tools": ["*"],
2222
"args": ["-y", "actions-toolkit-mcp"]
2323
}
2424
}
@@ -28,19 +28,6 @@ jobs:
2828
- run: copilot -p "$PROMPT" --allow-all-tools --log-level debug --log-dir ~/.copilot/logs
2929
id: copilot
3030
env:
31-
GITHUB_COPILOT_CLI_MODE: true # This skips default servers
32-
GITHUB_COPILOT_3P_MCP_ENABLED: true
33-
GITHUB_COPILOT_MCP_JSON: |
34-
{
35-
"mcpServers": {
36-
"actions-toolkit-mcp": {
37-
"type": "local",
38-
"command": "npx",
39-
"tools": [ "*" ],
40-
"args": ["-y", "actions-toolkit-mcp"]
41-
}
42-
}
43-
}
4431
GH_TOKEN: ${{ secrets.PAT }}
4532
PROMPT: |
4633
list all your tools.

0 commit comments

Comments
 (0)