Skip to content

Commit

Permalink
known issue (integrations/terraform-provider-github#1147), trying thi…
Browse files Browse the repository at this point in the history
…s workaround before changing the provider version
  • Loading branch information
charlesmmarshall committed Feb 16, 2023
1 parent df4424d commit d511b0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion github_repository.tf
Expand Up @@ -67,7 +67,7 @@ resource "github_branch_protection_v3" "repository_main" {
enforce_admins = var.enforce_admins

required_status_checks {
strict = var.require_ci_pass
strict = length(var.status_checks) > 0 ? var.require_ci_pass: null
contexts = length(var.status_checks) > 0 ? var.status_checks : null
}

Expand Down

0 comments on commit d511b0c

Please sign in to comment.