From eefd6071557d4f96391caac32d7eb264d1e573e9 Mon Sep 17 00:00:00 2001 From: wiseelf Date: Tue, 27 May 2025 09:35:39 +0200 Subject: [PATCH] fix: Do not create default branch --- main.tf | 1 + 1 file changed, 1 insertion(+) diff --git a/main.tf b/main.tf index 44c7934..79edd61 100644 --- a/main.tf +++ b/main.tf @@ -1265,6 +1265,7 @@ resource "gitlab_branch" "this" { project_namespace = project.namespace branch = branch } + if branch.name != lookup(project, "default_branch", "") } ]...)