1
0
mirror of synced 2025-12-19 18:10:59 -05:00

Repository Properties - [GA] (#46952)

Co-authored-by: Ben Ahmady <32935794+subatoi@users.noreply.github.com>
This commit is contained in:
Sophie
2024-02-15 14:50:40 +01:00
committed by GitHub
parent cc7d8dd591
commit 36c9e78b69
6 changed files with 8 additions and 30 deletions

View File

@@ -73,12 +73,6 @@ To target all repositories in your organization, in the "Target repositories" se
### Targeting repositories by properties in your organization
{% note %}
**Note:** Repository properties are in public beta and subject to change.
{% endnote %}
You can target repositories in your organization by custom properties. For more information, see "[AUTOTITLE](/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization)."
1. To target a dynamic list of repositories in your organization by properties, in the "Target repositories" section, select {% octicon "goal" aria-hidden="true" %} **Target: REPOSITORIES**, then click **Dynamic list by property**.

View File

@@ -9,17 +9,13 @@ topics:
shortTitle: Custom properties
---
{% note %}
**Note:** Repository properties are in public beta and subject to change.
{% endnote %}
## About custom properties
Custom properties allow you to decorate your repositories with information such as compliance frameworks, data sensitivity, or project details. Custom properties are private and can only be viewed by people with read permissions to the repository.
{% ifversion ghec or ghes %}
You can use repository properties to determine which repositories to target with a ruleset. For more information, see "[AUTOTITLE](/organizations/managing-organization-settings/creating-rulesets-for-repositories-in-your-organization#targeting-repositories-by-properties-in-your-organization)."
{% endif %}
## Allowed characters
@@ -32,6 +28,8 @@ Custom property names and values may only contain certain characters:
You can add custom properties to your organization and set values for those properties for repositories in your organization.
You can also use the REST API to create and manage custom properties for an organization. For more information, see "[AUTOTITLE](/rest/orgs/custom-properties)."
{% data reusables.profile.access_org %}
{% data reusables.profile.org_settings %}
{% data reusables.organizations.access-custom-properties %}
@@ -62,6 +60,8 @@ You can set values for custom properties for repositories in your organization.
People with read permissions to a repository can view the values of custom properties for that repository, but they can't edit those values.
You can also use the REST API to list the custom properties assigned to a repository by your organization. For more information, see "[AUTOTITLE](/rest/repos/custom-properties)."
{% data reusables.repositories.navigate-to-repo %}
{% data reusables.repositories.sidebar-settings %}
1. In the "Code and automation" section of the sidebar, click **{% octicon "tools" aria-hidden="true"%} Custom properties**.

View File

@@ -17,10 +17,4 @@ redirect_from:
You can use the REST API to create and manage custom properties for an organization. You can use custom properties to add metadata to repositories in your organization. For more information, see "[AUTOTITLE](/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization)."
{% note %}
**Note:** The API endpoints for custom properties are in public beta and subject to change.
{% endnote %}
<!-- Content after this section is automatically generated -->

View File

@@ -17,10 +17,4 @@ redirect_from:
You can use the REST API to view the custom properties that were assigned to a repository by the organization that owns the repository. For more information, see "[AUTOTITLE](/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization)." For more information about the REST API endpoints to manage custom properties, see "[AUTOTITLE](/rest/orgs/properties)."
{% note %}
**Note:** The API endpoints for custom properties are in public beta and subject to change.
{% endnote %}
<!-- Content after this section is automatically generated -->

View File

@@ -157,12 +157,6 @@ You can filter your search based on the visibility of the repositories. For more
## 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.

View File

@@ -1,4 +1,6 @@
# Reference: Issue #10331 - Repository Properties
versions:
fpt: '*'
ghec: '*'
ghes: '>=3.13'