Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions modules/repository-policy/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ resource "github_repository" "managed_settings" {
allow_update_branch = false
delete_branch_on_merge = true

# TODO: pull_request_creation_policy = "collaborators_only" is set on every repository through the REST API
# until the provider supports it: https://github.com/integrations/terraform-provider-github/pull/3479
# Then add it here and widen the provider constraint in versions.tf and this module.

lifecycle {
prevent_destroy = true
ignore_changes = [
Expand Down