List an org's custom repository-property definitions
See what custom repository properties an org has defined — the schema, not any repo’s actual values.
list_custom_properties_schema { "org": "<org>" }Result
Section titled “Result”[ { "propertyName": "team", "valueType": "single_select", "required": false }, { "propertyName": "cost-center", "valueType": "string", "required": true }]required defaults to false if the org’s schema doesn’t specify it.
Next step
Section titled “Next step”To see what values a specific repo currently has set for these
properties, use
get-repo-custom-properties.md. To set
values across one or more repos, use
set-repo-custom-properties.md — GitHub
validates any propertyName you set against this org-level schema, so
check it here first if a write unexpectedly fails.