File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 }
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.
You can’t perform that action at this time.
0 commit comments