Skip to content

Add copilot instruction for reviewing API Spec PRs - #5539

Open
Chetan Pandey (chetanpandey1266) wants to merge 3 commits into
mainfrom
user/chetanpandey/copilotIntructionsForReview
Open

Add copilot instruction for reviewing API Spec PRs#5539
Chetan Pandey (chetanpandey1266) wants to merge 3 commits into
mainfrom
user/chetanpandey/copilotIntructionsForReview

Conversation

@chetanpandey1266

@chetanpandey1266 Chetan Pandey (chetanpandey1266) commented Mar 15, 2026

Copy link
Copy Markdown
Contributor

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 Chetan Pandey (chetanpandey1266) changed the title Add copilot instruction for reviewing PRs Mar 15, 2026
@chetanpandey1266 Chetan Pandey (chetanpandey1266) changed the title Add copilot instruction for reviewing API Review PRs Mar 15, 2026
@chetanpandey1266
Chetan Pandey (chetanpandey1266) force-pushed the user/chetanpandey/copilotIntructionsForReview branch from 9138e4e to 3e8d506 Compare March 15, 2026 18:35
@chetanpandey1266
Chetan Pandey (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 <223556219+Copilot@users.noreply.github.com>
@chetanpandey1266
Chetan Pandey (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

1 participant