Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds do_not_enforce_on_create option for github_repository_ruleset #2525

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

lfventura
Copy link

Optional attribute added to rules.required_status_checks.
Resolves #2360


Before the change?

  • The option to allow repositories and branches to be created without enforcing status checks were prohibited by default, and would substitute the value of this configuration from the repo to always be false. It was not available for repository and organization rulesets.

After the change?

  • Now it has the option to disable enforce status checks on creation of a new branch/repo, manageable through the provider and do not overwriting the configuration in the ruleset without being shown in terraform plan/apply.

Pull request checklist

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been reviewed and added / updated if needed (for bug fixes / features)

Does this introduce a breaking change?

  • Yes
  • No

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEAT]: Rulesets - Do not require status checks on creation
1 participant