Skip to content

Commit 1b939ff

Browse files
authored
Merge pull request #2 from Perun-Engineering/fix/project-default-branch
fix: Do not create default branch
2 parents e454478 + eefd607 commit 1b939ff

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1265,6 +1265,7 @@ resource "gitlab_branch" "this" {
12651265
project_namespace = project.namespace
12661266
branch = branch
12671267
}
1268+
if branch.name != lookup(project, "default_branch", "")
12681269
}
12691270
]...)
12701271

0 commit comments

Comments
 (0)