You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[MAINT]: Naming of organization custom properties needs the change (from plural to singular) #2936
It probably the use case when data and resource should be renamed to organization_custom_property (singular),
plurals need to be marked as deprecated within version v6 of provider and probably removed in v7.
changed the title [-][MAINT]: Naming of organization custom properties needs th change[/-][+][MAINT]: Naming of organization custom properties needs the change (from plural to singular)[/+]on Nov 23, 2025
Minor suggestion:
We could also consider changing property_name to name.
I know that property_name was probably used because it maps 1:1 with the parameters in the API, but it just seems a bit wonky to have it since it is already implied.
#3234 covers most of this, but not all of it, so flagging what's in and what isn't before anyone closes it.
Addressed:
A singular resource and data source, github_organization_repository_custom_property, written against ARCHITECTURE.md.
The plural github_organization_custom_properties pair deprecated with a DeprecationMessage pointing at the new name, CRUD otherwise untouched — the deprecate-in-v6 half of the plan in the description.
Not addressed:
The new name is organization_repository_custom_property rather than organization_custom_property, per @stevehipwell's review feedback: these definitions apply to repositories, and the extra segment keeps them clearly related to github_repository_custom_property.
property_name is kept rather than shortened to name (@mroyme's suggestion above). It matches the API field, and changing it would mean carrying a second rename through the deprecated pair as well.
Removal of the plural pair, which the description itself defers to v7.
No strong preference on whether this closes when #3234 merges or stays open to track the v7 removal — it's currently linked as a plain reference, not a closing keyword, so it won't auto-close either way.
@mkushakov I'd be in favour of taking the pain now and adding name to be mutually exclusive to property_name (which can be deprecated) and using the same pattern I used for the secret value renames.
Activity
[-][MAINT]: Naming of organization custom properties needs th change[/-][+][MAINT]: Naming of organization custom properties needs the change (from plural to singular)[/+]mroyme commentedon Nov 23, 2025
Minor suggestion:
We could also consider changing
property_nametoname.I know that
property_namewas probably used because it maps 1:1 with the parameters in the API, but it just seems a bit wonky to have it since it is already implied.mkushakov commentedon Aug 13, 2026
#3234 covers most of this, but not all of it, so flagging what's in and what isn't before anyone closes it.
Addressed:
github_organization_repository_custom_property, written againstARCHITECTURE.md.github_organization_custom_propertiespair deprecated with aDeprecationMessagepointing at the new name, CRUD otherwise untouched — the deprecate-in-v6 half of the plan in the description.Not addressed:
organization_repository_custom_propertyrather thanorganization_custom_property, per @stevehipwell's review feedback: these definitions apply to repositories, and the extra segment keeps them clearly related togithub_repository_custom_property.property_nameis kept rather than shortened toname(@mroyme's suggestion above). It matches the API field, and changing it would mean carrying a second rename through the deprecated pair as well.No strong preference on whether this closes when #3234 merges or stays open to track the v7 removal — it's currently linked as a plain reference, not a closing keyword, so it won't auto-close either way.
deiga commentedon Aug 13, 2026
Resolving this is fine, we have "remove all deprecations" issue for v7 somewhere
stevehipwell commentedon Aug 21, 2026
@mkushakov I'd be in favour of taking the pain now and adding
nameto be mutually exclusive toproperty_name(which can be deprecated) and using the same pattern I used for the secret value renames.