在 github 组织中搜索具有已知 PR 名称模式的存储库
Search a github organization for repositories with a known PR name pattern
我们的一个应用程序可以根据用户请求提交 github PR。用户可以决定合并此 PR 或不合并它们。
有没有办法搜索 git 中心组织以查找具有未合并 PR 的存储库。 PR 遵循命名模式,即静态字符串末尾有动态部分。
ie. search git-org for all repos with a PR name like %auto_generated_pr_name_pattern%
谢谢,
三
你可以试试 GitHub search, which does include operators for merged or unmerged PR:
is:unmerged
示例:error
is:unmerged 匹配已关闭的议题和带有单词“error
”的拉取请求。
您可以添加一个 in:title
operator 来搜索 PR 名称。
在 GitHub API 这边,你有 Search Issues,正如它的名字 not 所暗示的那样,允许搜索 PR还有。
它的搜索参数包括:
is
: Searches for items within repositories that match a certain state, such as open, closed, or merged.
作为Samuel Neff points out :
OP also asked for within a specific organization, which you can add to search conditions with org:myorganization
.
我们的一个应用程序可以根据用户请求提交 github PR。用户可以决定合并此 PR 或不合并它们。
有没有办法搜索 git 中心组织以查找具有未合并 PR 的存储库。 PR 遵循命名模式,即静态字符串末尾有动态部分。
ie. search git-org for all repos with a PR name like %auto_generated_pr_name_pattern%
谢谢, 三
你可以试试 GitHub search, which does include operators for merged or unmerged PR:
is:unmerged
示例:error
is:unmerged 匹配已关闭的议题和带有单词“error
”的拉取请求。
您可以添加一个 in:title
operator 来搜索 PR 名称。
在 GitHub API 这边,你有 Search Issues,正如它的名字 not 所暗示的那样,允许搜索 PR还有。
它的搜索参数包括:
is
: Searches for items within repositories that match a certain state, such as open, closed, or merged.
作为Samuel Neff points out
OP also asked for within a specific organization, which you can add to search conditions with
org:myorganization
.