Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 13 additions & 17 deletions .github/workflows/copilot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,27 +21,23 @@ jobs:

- name: Setup MCP Configuration
env:
GITHUB_PERSONAL_ACCESS_TOKEN: ${{ secrets.COPILOT_CLI_TOKEN }}
TAVILY_API_KEY: ${{ secrets.TAVILY_API_KEY }}
run: |
mkdir -p /home/runner/.copilot
cat > /home/runner/.copilot/mcp-config.json << 'EOF'
{
"mcpServers": {
"github": {
"type": "local",
"command": "docker",
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "GITHUB_PERSONAL_ACCESS_TOKEN"
},
"args": [
"run",
"-i",
"--rm",
"-e",
"GITHUB_PERSONAL_ACCESS_TOKEN",
"ghcr.io/github/github-mcp-server:sha-09deac4"
],
"tools": ["*"]
"tavily": {
"type": "http",
"url": "https://mcp.tavily.com/mcp/",
"headers": {
"Authorization": "Bearer ${TAVILY_API_KEY}"
},
"tools": [
"*"
],
"env": {
"TAVILY_API_KEY": "\${TAVILY_API_KEY}"
}
}
}
Expand All @@ -59,7 +55,7 @@ jobs:
run: |
mkdir -p $(dirname "$GITHUB_AW_PROMPT")
cat > $GITHUB_AW_PROMPT << 'EOF'
List tools defined in the current chat session (do not run commands, I am asking about tools defined in the LLM). Just the names in a table, nothing else.
Search for the latest trends in JavaScript frameworks. Provide a summary of your findings including popular frameworks, new developments, and emerging trends.
EOF
- name: Print prompt to step summary
env:
Expand Down
Loading