зеркало из https://github.com/github/docs.git
Add Search based on the custom property section (#47293)
Co-authored-by: Joe Clark <31087804+jc-clark@users.noreply.github.com>
This commit is contained in:
Родитель
f0c01f015b
Коммит
d82e604fe3
|
@ -154,6 +154,26 @@ You can filter your search based on the visibility of the repositories. For more
|
|||
| `is:internal` | [**is:internal test**](https://github.com/search?q=is%3Ainternal+test&type=Repositories) matches internal repositories that you can access and contain the word "test".{% endif %}
|
||||
| `is:private` | [**is:private pages**](https://github.com/search?q=is%3Aprivate+pages&type=Repositories) matches private repositories that you can access and contain the word "pages."
|
||||
|
||||
{% ifversion repository-properties %}
|
||||
|
||||
## Search based on repository custom property
|
||||
|
||||
{% note %}
|
||||
|
||||
**Note:** Repository properties are in public beta and subject to change.
|
||||
|
||||
{% endnote %}
|
||||
|
||||
You can filter repositories based on custom properties using the `props.` prefixed qualifiers. For more information, see "[AUTOTITLE](/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization)."
|
||||
|
||||
For these qualifiers to work, the search must be limited to a single organization. Otherwise, `props.` qualifiers are ignored.
|
||||
|
||||
| Qualifier | Example
|
||||
| ------------- | -------------
|
||||
| <code>props.<em>PROPERTY</em>:<em>VALUE</em></code> | [**org:github props.environment:production**](https://github.com/search?utf8=%E2%9C%93&q=org%3Agithub+props.environment%3Atesting&type=Repositories) matches repositories from the `github` organization that have the custom property `environment` set to `production`.
|
||||
|
||||
{% endif %}
|
||||
|
||||
{% ifversion fpt or ghec %}
|
||||
|
||||
## Search based on whether a repository is a mirror
|
||||
|
|
Загрузка…
Ссылка в новой задаче