Describe the need
GitHub Rest API Create an organization repository ruleset recently added support in conditions parameter to also target dynamic list by custom properties (i.e. conditions.repository_property_and_ref_name).
I'm asking to add support for this in GitHub terraform resource github_organization_ruleset.
Can this support be added to the next release version? Thank you!
Here's an example of what I'm asking.
resource "github_organization_ruleset" "example" {
name = "example"
target = "branch"
enforcement = "active"
conditions {
ref_name {
include = ["~ALL"]
exclude = []
}
# add new `repository_property` nested block under `conditions` block
repository_property {
include = ["custom-prop1","custom-prop2"]
exclude = []
}
}
...
}
SDK Version
No response
API Version
2022-11-28
Relevant log output
No response
Code of Conduct
Describe the need
GitHub Rest API Create an organization repository ruleset recently added support in
conditionsparameter to also target dynamic list by custom properties (i.e.conditions.repository_property_and_ref_name).I'm asking to add support for this in GitHub terraform resource
github_organization_ruleset.Can this support be added to the next release version? Thank you!
Here's an example of what I'm asking.
SDK Version
No response
API Version
2022-11-28
Relevant log output
No response
Code of Conduct