Skip to content

Commit 3792a41

Browse files
Copilotpelikhan
andauthored
Polish review query wording in skills docs
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
1 parent 54b7c0a commit 3792a41

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/skills/copilot-review/SKILL.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ Collect review data with `gh` queries before any edits, and disable pagers:
3737
GH_PAGER="" gh pr view <number> --json reviews,reviewThreads,comments
3838
```
3939

40-
When useful, use targeted filters to isolate in-scope items:
40+
When useful, use targeted filters to isolate in-scope items.
41+
Use either query (or both) depending on which reviewer class you need to inspect:
4142

4243
```bash
4344
# GitHub Actions and Copilot-originated review comments

.github/skills/github-pr-query/query-prs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ else
147147
{"description": "Get large PRs", "query": ".[] | select(.changedFiles > 10) | {number, title, changedFiles}"},
148148
{"description": "Get PRs with labels", "query": ".[] | {number, title, labels: [.labels[].name]}"},
149149
{"description": "Count by state", "query": "group_by(.state) | map({state: .[0].state, count: length})"},
150-
{"description": "Get PRs with action-bot reviews", "query": ".[] | {number, title, botReviewCount: ([.reviews[]? | select(.author.login == \"github-actions[bot]\")] | length)}"}
150+
{"description": "Get PRs with actions-bot reviews", "query": ".[] | {number, title, botReviewCount: ([.reviews[]? | select(.author.login == \"github-actions[bot]\")] | length)}"}
151151
]
152152
}
153153
EOF

0 commit comments

Comments
 (0)