feat(pr): add pr +status showing pull requests relevant to you #369
Loading…
Reference in New Issue
No description provided.
Delete Branch "heke1228/gitlink-cli:feat/pr-status"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
背景
对标
gh pr status:一次给出「你创建的」与「请求你评审的」开启中合并请求。改动
先
GET /users/me取 login+数值 id;再查开启中 pulls:你创建的按issue.author.login客户端匹配(列表接口无 author 过滤参数),请求你评审的用文档化的reviewer_id服务端过滤。只用 api_ref 文档化参数、不臆造。只读。双语 i18n + 表驱动测试(mock /users/me + pulls,断言分组与 reviewer_id)。验证
go build ./...、go test ./shortcuts/pr/通过。