File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,27 +15,24 @@ jobs:
1515 node-version : ' 22'
1616 - run : npm install -g @github/copilot
1717 - run : |
18- mkdir -p ~/.copilot
19- cat > ~/.copilot/mcp-config.json << 'EOF'
20- {
18+ mkdir -p /home/runner/.config/.copilot
19+ echo '{
2120 "mcpServers": {
2221 "actions-toolkit-mcp": {
23- "type": "austen-fails",
2422 "command": "npx",
25- "tools ": ["* "],
26- "args ": ["-y", "actions-toolkit-mcp "]
23+ "args ": ["-y", "actions-toolkit-mcp "],
24+ "tools ": ["* "]
2725 }
2826 }
29- }
30- EOF
31- cat ~/.copilot/mcp-config.json
27+ }' > /home/runner/.config/.copilot/mcp-config.json
28+ cat /home/runner/.config/.copilot/mcp-config.json
3229 - run : copilot -p "$PROMPT" --allow-all-tools --log-level debug --log-dir ~/.copilot/logs
3330 id : copilot
3431 env :
3532 GH_TOKEN : ${{ secrets.PAT }}
3633 PROMPT : |
3734 list all your tools.
38- - run : cat ~ /.copilot/mcp-config.json
35+ - run : cat /home/runner/.config /.copilot/mcp-config.json
3936 - uses : actions/upload-artifact@v4
4037 with :
4138 name : copilot-logs
You can’t perform that action at this time.
0 commit comments