文章版本: Enterprise Server 2.17
使用搜索过滤议题和拉取请求
每个议题和拉取请求视图都附带一个用于高级过滤器管理的搜索栏。
议题和拉取请求搜索栏可以定义您自己的自定义过滤器并按各种标准进行排序。 You can find the search bar on each repository's Issues and Pull requests tabs and on your Issues and Pull requests dashboards.
提示:您可以用键盘快捷键将光标焦点放在议题或拉取请求列表上方的搜索栏上。 更多信息请参阅“键盘快捷键”。
使用议题和拉取请求搜索词,您可以:
- 按作者过滤议题和拉取请求:
state:open type:issue author:octocat
- 过滤涉及但不一定@提及的特定人员的议题和拉取请求:
state:open type:issue involves:octocat
- 按受理人过滤议题和拉取请求:
state:open type:issue assignee:octocat
- 按标签过滤议题和拉取请求:
state:open type:issue label:"bug"
For pull requests, you can also use search to:
- 过滤草稿拉取请求:
is:draft
- 过滤尚未审查的拉取请求:
state:open type:pr review:none
- 过滤需要审查然后才能合并的拉取请求:
state:open type:pr review:required
- 过滤审查者已批准的拉取请求:
state:open type:pr review:approved
- 过滤审查者要求更改的拉取请求:
state:open type:pr review:changes_requested
- 按审查者过滤拉取请求:
state:open type:pr reviewed-by:octocat
- 按请求审查的特定用户过滤拉取请求:
state:open type:pr review-requested:octocat
- Filter pull requests by the team requested for review:
state:open type:pr team-review-requested:github/atom