Commit 8ba0a1c
Reduce spurious Copilot Code Review comments on AutoPR PRs (#38768)
## Problem
Copilot Code Reviewer (CCR) generates noisy, repetitive, or unactionable
comments on auto-generated ARM SDK PRs. Observed in:
- #38603
- #38664
**Examples:**
- 12+ identical comments about subscriptionId placeholder format across
every sample file
- Comments on \pnpm-lock.yaml\ specifier mismatches (not actionable)
- Comments on generated config files (\eslint.config.mjs\,
\warp.config.yml\) deviating from other packages
## Changes
- **\.github/copilot-instructions.md\** — Add repo-wide review behavior
rules: deduplicate comments, skip lockfile, recognize \[AutoPR\ title
prefix
- **\.github/instructions/reviewer/mgmt-sdk.instructions.md\** — Add
rules to skip placeholder values in samples, generated infrastructure
config files, and duplicate comments
- **\.github/instructions/reviewer/lockfile.instructions.md\** (new) —
Path-scoped exclusion for \pnpm-lock.yaml\
## Verification
These changes will take effect on new PRs after merge. Effectiveness can
be validated by observing comment patterns on subsequent AutoPR PRs.
---------
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent c02185f commit 8ba0a1c
3 files changed
Lines changed: 29 additions & 1 deletion
File tree
- .github
- instructions/reviewer
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
| 116 | + | |
116 | 117 | | |
117 | 118 | | |
118 | 119 | | |
| 120 | + | |
119 | 121 | | |
120 | 122 | | |
121 | 123 | | |
122 | 124 | | |
| 125 | + | |
123 | 126 | | |
124 | 127 | | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
125 | 134 | | |
126 | 135 | | |
127 | | - | |
| 136 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| 66 | + | |
66 | 67 | | |
67 | 68 | | |
68 | 69 | | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
69 | 78 | | |
70 | 79 | | |
71 | 80 | | |
| |||
0 commit comments