GitHub Copilot 命令行界面 (CLI) 可帮助你汇总存储库中的所有最近活动。 Copilot 命令行界面(CLI) 将查找有关问题、拉取请求、提交、CI 运行状况和安全通知的信息,你可以要求它在报告中汇总此信息。
示例方案
你离开代码库一周后再次回来,需要了解这段时间的进展。 需要一个报告,其中包含最近的活动和项目的当前运行状况,以便你可以确定工作优先级。
示例提示
Summarize activity in this repository over the past week. Highlight anything that looks blocked or urgent, and suggest what I should prioritize.
Summarize activity in this repository over the past week. Highlight anything that looks blocked or urgent, and suggest what I should prioritize.
示例响应
注意
以下响应是示例。 副驾驶聊天 的回答是不确定的,因此你可能会得到与这里所显示的不同的回答。
Repository activity summary (past 7 days)
P1 — Urgent
- CI failing on `main`: the `build-and-test` workflow has been red since commit a1b2c3d ("Refactor auth middleware"). Three subsequent PRs are blocked from merging.
- Security alert: a high-severity Dependabot alert for `lodash` (CVE-2025-12345) is open and unassigned.
P2 — Needs attention soon
- PR #482 ("Add OAuth device flow support") has 2 approvals and passing checks, but has been waiting 4 days for a final sign-off from a code owner.
- Issue #475 ("Crash on startup with empty config file") was reopened after a regression; 5 new comments and a reproduction case were added yesterday.
P3 — Routine
- 4 new issues opened, mostly minor UI bugs and documentation requests. None are labeled `bug:critical`.
- 12 commits merged to `main` across 6 PRs, primarily dependency bumps and test cleanup.
Suggested next steps:
1. Investigate and fix the failing `build-and-test` workflow to unblock merges.
2. Triage the Dependabot alert and assign an owner.
3. Review PR #482 so it can ship.