Skip to content

Commit 79466b6

Browse files
docs: move AGENTS.md to root, add copilot-setup-steps
- Move AGENTS.md to repository root per agents.md spec - Add copilot-setup-steps.yml workflow for Copilot coding agent - Pre-installs: Go deps, goimports, MCP Inspector, builds server binary
1 parent 0877f6c commit 79466b6

File tree

2 files changed

+51
-0
lines changed

2 files changed

+51
-0
lines changed
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# https://docs.github.com/en/copilot/customizing-copilot/customizing-the-development-environment-for-copilot-coding-agent
2+
name: "Copilot Setup Steps"
3+
4+
on:
5+
workflow_dispatch:
6+
push:
7+
paths:
8+
- .github/workflows/copilot-setup-steps.yml
9+
pull_request:
10+
paths:
11+
- .github/workflows/copilot-setup-steps.yml
12+
13+
jobs:
14+
copilot-setup-steps:
15+
runs-on: ubuntu-latest
16+
17+
permissions:
18+
contents: read
19+
20+
steps:
21+
- name: Checkout code
22+
uses: actions/checkout@v4
23+
24+
- name: Set up Go
25+
uses: actions/setup-go@v5
26+
with:
27+
go-version-file: go.mod
28+
29+
- name: Download Go dependencies
30+
run: go mod download
31+
32+
- name: Build server
33+
run: go build -v ./cmd/github-mcp-server
34+
35+
- name: Install goimports
36+
run: go install golang.org/x/tools/cmd/goimports@latest
37+
38+
- name: Setup Node.js
39+
uses: actions/setup-node@v4
40+
with:
41+
node-version: '22'
42+
43+
- name: Install MCP Inspector
44+
run: npm install -g @modelcontextprotocol/[email protected]
45+
46+
- name: Verify tools
47+
run: |
48+
echo "Go version: $(go version)"
49+
echo "goimports: $(which goimports)"
50+
echo "MCP Inspector: $(npx @modelcontextprotocol/[email protected] --version)"
51+
echo "Server binary: $(ls -la github-mcp-server)"
File renamed without changes.

0 commit comments

Comments
 (0)