Skip to content

Commit d9f74b6

Browse files
nenosrepnickfloyd
andauthored
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]>
1 parent efd6d02 commit d9f74b6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

website/docs/r/organization_ruleset.html.markdown

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,8 @@ The `rules` block supports the following:
172172

173173
* `integration_id` - (Optional) (Number) The optional integration ID that this status check must originate from.
174174

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+
175177
#### rules.required_workflows ####
176178

177179
* `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

Comments
 (0)