Skip to content

Get a repo's custom property values

Read the current custom property values set on a specific repository.

get_repo_custom_properties { "owner": "<owner>", "repo": "<repo>" }
[
{ "propertyName": "team", "value": "platform" },
{ "propertyName": "cost-center", "value": null }
]

value is null if the property is defined at the org level but not set on this repo; it can also be a string[] for multi-select properties.

This only reads one repo at a time. To see what property names are even valid for this org, check list-custom-properties-schema.md. To write values (for this repo or several at once), use set-repo-custom-properties.md.