Commit 5ecb31f
ci: add Copilot auto-review on new PRs (#70)
* ci: add Copilot auto-review on new PRs
Automatically requests GitHub Copilot as a reviewer when PRs are
opened or marked ready for review. Skips draft PRs.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* fix: use REST API to request Copilot review
The gh CLI --add-reviewer flag treats 'copilot' as a regular user.
Use the REST API /requested_reviewers endpoint instead, which
properly handles the Copilot reviewer.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
---------
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 52aa5da commit 5ecb31f
1 file changed
+24
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
0 commit comments