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
Description: "Who can edit the values of the custom property. Can be one of 'org_actors' or 'org_and_repo_actors'. If not specified, the default is 'org_actors' (only organization owners can edit values)",
64
+
Type: schema.TypeString,
65
+
Optional: true,
66
+
Computed: true,
67
+
},
62
68
},
63
69
}
64
70
}
@@ -79,14 +85,22 @@ func resourceGithubCustomPropertiesCreate(d *schema.ResourceData, meta any) erro
description = "Contact information for the team managing this repository"
41
+
values_editable_by = "org_and_repo_actors"
42
+
}
43
+
```
44
+
31
45
## Example Usage - Text Property
32
46
33
47
```hcl
@@ -67,6 +81,8 @@ The following arguments are supported:
67
81
68
82
*`allowed_values` - (Optional) List of allowed values for the custom property. Only applicable when `value_type` is `single_select` or `multi_select`.
69
83
84
+
*`values_editable_by` - (Optional) Who can edit the values of the custom property. Can be one of `org_actors` or `org_and_repo_actors`. When set to `org_actors` (the default), only organization owners can edit the property values on repositories. When set to `org_and_repo_actors`, both organization owners and repository administrators with the custom properties permission can edit the values.
85
+
70
86
## Attributes Reference
71
87
72
88
In addition to all arguments above, the following attributes are exported:
0 commit comments