Skip to content

Add copilot instruction for reviewing API Spec PRs#5539

Open
chetanpandey1266 wants to merge 3 commits intomainfrom
user/chetanpandey/copilotIntructionsForReview
Open

Add copilot instruction for reviewing API Spec PRs#5539
chetanpandey1266 wants to merge 3 commits intomainfrom
user/chetanpandey/copilotIntructionsForReview

Conversation

@chetanpandey1266
Copy link
Contributor

@chetanpandey1266 chetanpandey1266 commented Mar 15, 2026

This instruction file is used by copilot code reviewer to review API review PRs. This instruction file is only used for PRs which have API Proposal Review tag.

An example of code review using this instruction file: chetanpandey1266#2

This review marks every review as Important, Suggestion or Nit and tag older PRs which have similar comments.
image

@chetanpandey1266 chetanpandey1266 changed the title Add copilot instruction for reviewing PRs Add copilot instruction for reviewing API Review PRs Mar 15, 2026
@chetanpandey1266 chetanpandey1266 changed the title Add copilot instruction for reviewing API Review PRs Add copilot instruction for reviewing API Spec PRs Mar 15, 2026
@chetanpandey1266 chetanpandey1266 force-pushed the user/chetanpandey/copilotIntructionsForReview branch from 9138e4e to 3e8d506 Compare March 15, 2026 18:35
@chetanpandey1266 chetanpandey1266 force-pushed the user/chetanpandey/copilotIntructionsForReview branch from 3e8d506 to 4ff29c5 Compare March 15, 2026 20:14
Adds a scheduled GitHub Actions workflow that runs every Monday:
- Fetches merged PRs with 'API Proposal Review' label from the past week
- Extracts review comments and summaries (excluding bot authors)
- Creates a GitHub issue with structured learnings for updating
  copilot-instructions.md
- Attempts to assign the issue to Copilot Coding Agent with
  graceful fallback
- Skips silently when no relevant PRs found

Uses only built-in GITHUB_TOKEN, no external API keys needed.

Co-authored-by: Copilot <[email protected]>
@chetanpandey1266 chetanpandey1266 force-pushed the user/chetanpandey/copilotIntructionsForReview branch from 4dfad0e to aa4d7af Compare March 16, 2026 05:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant