Skip to content

Commit 36c9e78

Browse files
Repository Properties - [GA] (#46952)
Co-authored-by: Ben Ahmady <32935794+subatoi@users.noreply.github.com>
1 parent cc7d8dd commit 36c9e78

6 files changed

Lines changed: 8 additions & 30 deletions

File tree

content/organizations/managing-organization-settings/creating-rulesets-for-repositories-in-your-organization.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -73,12 +73,6 @@ To target all repositories in your organization, in the "Target repositories" se
7373

7474
### Targeting repositories by properties in your organization
7575

76-
{% note %}
77-
78-
**Note:** Repository properties are in public beta and subject to change.
79-
80-
{% endnote %}
81-
8276
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)."
8377

8478
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**.

content/organizations/managing-organization-settings/managing-custom-properties-for-repositories-in-your-organization.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,13 @@ topics:
99
shortTitle: Custom properties
1010
---
1111

12-
{% note %}
13-
14-
**Note:** Repository properties are in public beta and subject to change.
15-
16-
{% endnote %}
17-
1812
## About custom properties
1913

2014
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.
2115

16+
{% ifversion ghec or ghes %}
2217
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)."
18+
{% endif %}
2319

2420
## Allowed characters
2521

@@ -32,6 +28,8 @@ Custom property names and values may only contain certain characters:
3228

3329
You can add custom properties to your organization and set values for those properties for repositories in your organization.
3430

31+
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)."
32+
3533
{% data reusables.profile.access_org %}
3634
{% data reusables.profile.org_settings %}
3735
{% data reusables.organizations.access-custom-properties %}
@@ -62,6 +60,8 @@ You can set values for custom properties for repositories in your organization.
6260

6361
People with read permissions to a repository can view the values of custom properties for that repository, but they can't edit those values.
6462

63+
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)."
64+
6565
{% data reusables.repositories.navigate-to-repo %}
6666
{% data reusables.repositories.sidebar-settings %}
6767
1. In the "Code and automation" section of the sidebar, click **{% octicon "tools" aria-hidden="true"%} Custom properties**.

content/rest/orgs/custom-properties.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,4 @@ redirect_from:
1717

1818
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)."
1919

20-
{% note %}
21-
22-
**Note:** The API endpoints for custom properties are in public beta and subject to change.
23-
24-
{% endnote %}
25-
2620
<!-- Content after this section is automatically generated -->

content/rest/repos/custom-properties.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,4 @@ redirect_from:
1717

1818
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)."
1919

20-
{% note %}
21-
22-
**Note:** The API endpoints for custom properties are in public beta and subject to change.
23-
24-
{% endnote %}
25-
2620
<!-- Content after this section is automatically generated -->

content/search-github/searching-on-github/searching-for-repositories.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -157,12 +157,6 @@ You can filter your search based on the visibility of the repositories. For more
157157

158158
## Search based on repository custom property
159159

160-
{% note %}
161-
162-
**Note:** Repository properties are in public beta and subject to change.
163-
164-
{% endnote %}
165-
166160
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)."
167161

168162
For these qualifiers to work, the search must be limited to a single organization. Otherwise, `props.` qualifiers are ignored.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
# Reference: Issue #10331 - Repository Properties
22

33
versions:
4+
fpt: '*'
45
ghec: '*'
6+
ghes: '>=3.13'

0 commit comments

Comments
 (0)