Describe the need
As of April 9th, 2025 github_organization_custom_properties now has support for Regular Expression Matching
It's only possible for Text types, and is the suggested workaround for people who would use single/multi-select save for the limitation of 200 possible values in the list.
For what it's worth The schema has not been updated as of GitHub-Api-Version 2026-03-10 so Data types as well as Resources won't have the ability to read the current values but
curl -L -X PUT \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${TOKEN}" \
-H "X-GitHub-Api-Version: 2026-03-10" \
https://api.github.com/orgs/ORG_NAME/properties/schema/PROPERTY_NAME \
-d '{"value_type":"string","required":false,"description":"SOME_DESCRIPTION","values_editable_by":"org_actors","require_explicit_values":false,"regex":"^\\d{5}$"}
creates/updates the regex values currently, without any issues.
GitHub Installation Type
Relevant log output
Code of Conduct
Describe the need
As of April 9th, 2025 github_organization_custom_properties now has support for Regular Expression Matching
It's only possible for
Texttypes, and is the suggested workaround for people who would use single/multi-select save for the limitation of 200 possible values in the list.For what it's worth The schema has not been updated as of
GitHub-Api-Version 2026-03-10so Data types as well as Resources won't have the ability to read the current values butcreates/updates the regex values currently, without any issues.
GitHub Installation Type
Relevant log output
Code of Conduct