Enable GitHub Copilot automatic PR reviews #6171
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Enables GitHub Copilot automatic PR reviews by implementing configuration files and documentation. Analyzed microsoft/mcp repository for comparison and created comprehensive setup infrastructure.
Key additions:
.github/PULL_REQUEST_TEMPLATE.md) - Structured checklists for CLI/template/extension changes.github/COPILOT_REVIEW_SETUP.md) - Step-by-step admin guide for enabling automatic reviews via repository rulesets.github/COPILOT_COMPARISON.md) - Detailed feature comparison with microsoft/mcp, documents architectural decisions.github/QUICK_REFERENCE.md) - Condensed guide for contributors, reviewers, and adminsComparison with microsoft/mcp:
To activate: Repository admins configure rulesets per
.github/COPILOT_REVIEW_SETUP.md(Settings → Rules → Rulesets → Enable "Automatically request Copilot code review").GitHub issue number?
Related to improving PR review workflow and code quality automation.
Pre-merge Checklist
Required for All PRs
.github/copilot-instructions.md)For azd CLI changes (
cli/azd/):gofmt -s -w .fromcli/azd/directorygolangci-lint run ./...fromcli/azd/directorycspell lint "**/*.go" --relative --config ./.vscode/cspell.yaml --no-progressfromcli/azd/directorycli/azd/CHANGELOG.mdfor user-facing changes (features, bug fixes, breaking changes)go test ./... -short(allow up to 10 minutes)UPDATE_SNAPSHOTS=true)For template changes (
templates/):For extension changes (
ext/):Additional Notes
Documentation-only change. No code changes, hence no CHANGELOG update required. Live testing requires admin permissions to configure repository rulesets.
Files modified: 7 files, 739 lines added
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.