Skip to main content

조직에 대한 사용자 지정 속성 관리

사용자 지정 속성을 사용하면 엔터프라이즈의 조직에 메타데이터를 추가하고 해당 메타데이터를 사용하여 규칙 집합이 있는 리포지토리를 대상으로 지정할 수 있습니다.

누가 이 기능을 사용할 수 있나요?

Enterprise owners and users with the "Manage the Enterprise's custom properties definitions" permission can add and set a custom property schema at the enterprise level.

참고

For GitHub Enterprise Server, this feature will only be available from version 3.21.

About custom properties

Custom properties are structured metadata fields that you can add to repositories and organizations in GitHub to enable better organization, governance, and automation across your environment. See Custom properties.

This article relates to organization custom properties.

Allowed characters

Custom property names and values may only contain certain characters:

  • Names: a-z, A-Z, 0-9, _, -, $, #
  • Values: All printable ASCII characters except "

Adding custom properties

You can add custom properties to your enterprise and set values for those properties for organizations in your enterprise.

You can also use the REST API to create and manage custom properties for an organization. See Custom properties.

  1. Navigate to your enterprise. For example, from the Enterprises page on GitHub.com.

  2. Under the enterprise name, click the Organizations tab.

    Screenshot of an enterprise. The "Organizations" tab is highlighted with an orange outline.

  3. In the left sidebar, click Custom properties.

  4. To add a new custom property, click New property in the upper right corner.

  5. In the "Name" field, type the name you'd like to use for your custom property. The name can't contain spaces, and cannot exceed 75 characters in length.

  6. Optionally, in the "Description" field, add a description for the custom property.

  7. Under "Type", select the type of property you'd like to add.

  8. Optionally, select Allow organization actors to set this property to allow organization users and apps with the organization-level "custom properties" fine-grained permission to set and update the property value for their organization.

  9. Optionally, select Require this property for all organizations and add a default value. Enabling this option indicates that you require that all organizations in your enterprise have a value for this property. Organizations that don't have an explicit value for this property will inherit the default value.

  10. Click Save property.

Setting values for organizations in your enterprise

You, and any users with the "Edit custom properties values at the organization level" permission, can set values for custom properties for organizations in your enterprise.

  1. Navigate to your enterprise. For example, from the Enterprises page on GitHub.com.

  2. Under the enterprise name, click the Organizations tab.

    Screenshot of an enterprise. The "Organizations" tab is highlighted with an orange outline.

  3. In the left sidebar, click Custom properties.

  4. Click the "Set values" tab.

  5. Select one or more organizations from the list and click Edit properties.

  6. In the modal dialog that appears, select a value for each property you'd like to set for the selected organizations.

  7. Click Save changes.