Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Dave Arnold committed Feb 21, 2025
1 parent 4cf809e commit 3fbbcdb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions github_branch.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

# Create non-main default branch if specified
resource "github_branch" "branch" {
count = var.github_default_branch != "main" ? 1 : 0
count = var.github_default_branch != "main" ? 1 : 0
repository = local.github_repo.name
branch = var.github_default_branch
depends_on = [
Expand All @@ -15,7 +15,7 @@ resource "github_branch" "branch" {

# Set the default branch
resource "github_branch_default" "default_main_branch" {
count = var.github_default_branch != "main" ? 1 : 0
count = var.github_default_branch != "main" ? 1 : 0
repository = local.github_repo.name
branch = var.github_default_branch
depends_on = [
Expand Down

0 comments on commit 3fbbcdb

Please sign in to comment.