Update managing-custom-properties-for-repositories-in-your-organizati… (#50966)
Co-authored-by: Laura Coursen <lecoursen@github.com>
This commit is contained in:
@@ -36,7 +36,7 @@ You can add custom properties to your organization and set values for those prop
|
||||
1. To add a new custom property, click **New property** in the upper right corner.
|
||||
1. In the "Name" field, type the name you'd like to use for your custom property. The name can't contain spaces.
|
||||
1. Optionally, in the "Description" field, fill in a description of your custom property.
|
||||
1. Under "Type", select the type of property you'd like to add. This can either be a string or a single select field.
|
||||
1. Under "Type", select the type of property you'd like to add. This can either be a text string, a single select field, a multi select field, or a true/false boolean.
|
||||
1. Optionally, you can select **Allow repository actors to set this property**. When enabled, repository users and apps with the repository-level "custom properties" fine-grained permission will be able to set and update the property value for their repository.
|
||||
1. Optionally, you can select **Require this property for all repositories** and add a default value. This means that you require that all repositories in your organization have a value for this property. Repositories that don’t have an explicit value for this property will inherit the default value.
|
||||
1. Click **Save property**.
|
||||
|
||||
@@ -34,7 +34,7 @@ You can target repositories in your organization by custom properties. For more
|
||||
|
||||
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**.
|
||||
1. To add a target, in the "Targeting criteria" section, select **Add a target** {% octicon "triangle-down" aria-hidden="true" %}, then click **Include by property** or **Exclude by property**.
|
||||
1. In the modal dialog that appears, select a property from the dropdown menu, then select a value for the property.
|
||||
1. In the modal dialog that appears, select a custom or system property from the dropdown menu, then select a value for the property.
|
||||
1. Click **Add target**.
|
||||
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user