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
docs: Adds do_not_enforce_on_create option for github_repository_ruleset docs (#2667)
* Add do_not_enforce_on_create option for github_organization_ruleset
What: Expand schema with missing option do_not_enforce_on_create
Why: It is available for github_repository_ruleset and the API
* Add do_not_enforce_on_create to github_organization_ruleset test
What: Expand test for github_organization_ruleset with
do_not_enforce_on_create
Why: To ensure that the do_not_enforce_on_create option is working
* Add do_not_enforce_on_create to github_organization_ruleset docs
What: Explain do_not_enforce_on_create option and default vaules in
the documentation for the github_organization_ruleset resource
Why: Keep the documentation consistent with the implementation
* Apply suggestion from @nickfloyd
* Apply suggestion from @nickfloyd
* Apply suggestion from @nickfloyd
* Apply suggestion from @nickfloyd
---------
Co-authored-by: Nick Floyd <[email protected]>
Copy file name to clipboardExpand all lines: website/docs/r/organization_ruleset.html.markdown
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -172,6 +172,8 @@ The `rules` block supports the following:
172
172
173
173
*`integration_id` - (Optional) (Number) The optional integration ID that this status check must originate from.
174
174
175
+
*`do_not_enforce_on_create` - (Optional) (Boolean) Allow repositories and branches to be created if a check would otherwise prohibit it. Defaults to `false`.
176
+
175
177
#### rules.required_workflows ####
176
178
177
179
*`do_not_enforce_on_create` - (Optional) (Boolean) Allow repositories and branches to be created if a check would otherwise prohibit it. Defaults to `false`.
0 commit comments