-
Notifications
You must be signed in to change notification settings - Fork 880
Open
Labels
Status: Up for grabsIssues that are ready to be worked on by anyoneIssues that are ready to be worked on by anyoneType: FeatureNew feature or requestNew feature or request
Description
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
- I agree to follow this project's Code of Conduct
usmonster, eladlevi-dy, felixlut, avivek, staffanf and 32 more
Metadata
Metadata
Assignees
Labels
Status: Up for grabsIssues that are ready to be worked on by anyoneIssues that are ready to be worked on by anyoneType: FeatureNew feature or requestNew feature or request
Type
Projects
Status
🔥 Backlog
Status
Backlog