Automated daily tracking of Microsoft Agent Framework changes using GitHub Copilot CLI and GitHub Copilot SDK.
This project automatically analyzes merged Pull Requests from Microsoft Agent Framework repository and generates comprehensive blog posts summarizing the changes. It leverages the power of GitHub Copilot to understand code changes and produce high-quality technical content.
.
├── .copilot_skills/
│ └── pr-analyzer/
│ └── SKILL.md # Copilot skill definition for PR analysis
├── .github/
│ └── workflows/
│ └── daily-pr-analysis.yml # GitHub Action workflow
├── blog/ # Generated blog posts output directory
├── pr_trigger_v2.py # Main Python script to trigger analysis
└── README.md
The workflow (.github/workflows/daily-pr-analysis.yml) runs Monday to Friday at UTC 00:00:
| Step | Action | Description |
|---|---|---|
| 1 | Checkout repository | Clone the repository using actions/checkout@v4 |
| 2 | Setup Node.js | Configure Node.js 22 environment for Copilot CLI |
| 3 | Install GitHub Copilot CLI | Install via npm i -g @github/copilot |
| 4 | Setup Python | Configure Python 3.11 environment |
| 5 | Install Python dependencies | Install github-copilot-sdk package |
| 6 | Run PR Analysis | Execute pr_trigger_v2.py with Copilot authentication |
| 7 | Commit and push | Auto-commit generated blog posts to repository |
The command-line interface that provides AI capabilities in CI/CD pipelines:
npm i -g @github/copilotPython SDK for programmatic interaction with GitHub Copilot:
from copilot import CopilotClient
client = CopilotClient()
await client.start()
session = await client.create_session({
"model": "claude-sonnet-4.5",
"streaming": True,
"skill_directories": ["./.copilot_skills/pr-analyzer/SKILL.md"]
})
await session.send_and_wait({"prompt": "Analyze PRs from microsoft/agent-framework merged yesterday"})The skill file (.copilot_skills/pr-analyzer/SKILL.md) defines:
- PR analysis behavior
- Blog post structure
- Breaking changes priority
- Code snippet extraction rules
- GitHub Copilot subscription with CLI access
- Repository with Actions enabled
-
Create a Fine-grained Personal Access Token (PAT)
- Go to GitHub → Settings → Developer settings → Personal access tokens → Fine-grained tokens
- Create token with Copilot Requests: Read permission
-
Add Repository Secret
- Navigate to repository → Settings → Secrets and variables → Actions
- Add new secret:
COPILOT_GITHUB_TOKENwith your PAT value
-
Enable Workflow
- The workflow runs automatically on schedule
- Manual trigger available via "Run workflow" button in Actions tab
Generated blog posts are saved to the blog/ directory with naming convention:
blog/agent-framework-pr-summary-{YYYY-MM-DD}.md
Each generated post includes:
- Breaking Changes (highlighted first)
- Major Updates with code examples
- Minor Updates and Bug Fixes
- Summary and impact assessment
You can manually trigger the workflow:
gh workflow run daily-pr-analysis.ymlOr via GitHub UI: Actions → Daily PR Analysis → Run workflow
| 2026-02-05 | Agent Framework Updates - February 5, 2026 | Read |
| 2026-02-04 | Agent Framework Updates - February 4, 2026 | Read |
| 2026-02-03 | Agent Framework Updates - February 3, 2026 | Read |
| 2026-02-02 | Agent Framework Updates - February 2, 2026 | Read |
| 2026-02-01 | Agent Framework Updates - February 1, 2026 | Read |
| 2026-01-29 | Agent Framework Updates - January 29, 2026 | Read |
| 2026-01-28 | Agent Framework Updates - January 28, 2026 | Read |
| 2026-01-27 | Agent Framework Updates - January 27, 2026 | Read |
| 2026-01-26 | Agent Framework Updates - January 26, 2026 | Read |
| 2026-01-23 | Agent Framework Updates - January 23, 2026 | Read |
MIT

