Skip to content

Commit

Permalink
Remove unused push restrictions from GitHub branch protection configu…
Browse files Browse the repository at this point in the history
…ration
  • Loading branch information
Dave Arnold committed Feb 19, 2025
1 parent fc4c07b commit 8141643
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions github_branch.tf
Original file line number Diff line number Diff line change
Expand Up @@ -64,15 +64,6 @@ resource "github_branch_protection" "main" {
}
}

dynamic "push_restrictions" {
for_each = length(var.github_push_restrictions) > 0 ? ["true"] : []
content {
users = var.github_push_restrictions
teams = []
apps = []
}
}

lifecycle {
ignore_changes = [
required_status_checks[0].contexts
Expand Down

0 comments on commit 8141643

Please sign in to comment.