diff --git a/github.tf b/github.tf index 051f5b9..dcec75e 100644 --- a/github.tf +++ b/github.tf @@ -31,6 +31,13 @@ resource "github_repository" "repository" { vulnerability_alerts = true for_each = local.github_repositories + + lifecycle { + ignore_changes = [ + # Workaround for integrations/terraform-provider-github#1037. + branches, + ] + } } resource "github_repository_deploy_key" "deploy_key" {