1
0
mirror of synced 2026-01-05 12:07:35 -05:00

Merge pull request #21032 from github/jules-3042

Creates large PR search workaround reusable and adds to relevant docs
This commit is contained in:
Jules Parker
2021-09-06 11:05:37 +02:00
committed by GitHub
3 changed files with 14 additions and 0 deletions

View File

@@ -89,6 +89,14 @@ For pull requests, you can also use search to:
- Filter pull requests by the team requested for review: `state:open type:pr team-review-requested:github/atom`{% ifversion fpt or ghes or ghae %}
- Filter for pull requests that are linked to an issue that the pull request may close: `linked:issue`{% endif %}
{% note %}
**Note:** {% data reusables.pull_requests.large-search-workaround %} You can limit your search with the `org:`, `user:`, or `repo:` qualifiers. For more information, see "[Searching issues and pull requests](/github/searching-for-information-on-github/searching-on-github/searching-issues-and-pull-requests#search-within-a-users-or-organizations-repositories)."
{% endnote %}
## Further reading
- "[Searching issues and pull requests](/articles/searching-issues)"

View File

@@ -50,12 +50,17 @@ With the `in` qualifier you can restrict your search to the title, body, comment
To search issues and pull requests in all repositories owned by a certain user or organization, you can use the `user` or `org` qualifier. To search issues and pull requests in a specific repository, you can use the `repo` qualifier.
{% data reusables.pull_requests.large-search-workaround %}
| Qualifier | Example
| ------------- | -------------
| <code>user:<em>USERNAME</em></code> | [**user:defunkt ubuntu**](https://github.com/search?q=user%3Adefunkt+ubuntu&type=Issues) matches issues with the word "ubuntu" from repositories owned by @defunkt.
| <code>org:<em>ORGNAME</em></code> | [**org:github**](https://github.com/search?q=org%3Agithub&type=Issues&utf8=%E2%9C%93) matches issues in repositories owned by the GitHub organization.
| <code>repo:<em>USERNAME/REPOSITORY</em></code> | [**repo:mozilla/shumway created:<2012-03-01**](https://github.com/search?q=repo%3Amozilla%2Fshumway+created%3A%3C2012-03-01&type=Issues) matches issues from @mozilla's shumway project that were created before March 2012.
## Search by open or closed state
You can filter issues and pull requests based on whether they're open or closed using the `state` or `is` qualifier.

View File

@@ -0,0 +1 @@
If you have access to pull requests in more than 10,000 repositories, you will need to limit your search to a specific organization, user account, or repository to see results.