Skip to content

Commit

Permalink
feat: Revert making it possible to rename the main branch
Browse files Browse the repository at this point in the history
This reverts commit 43483a3
  • Loading branch information
gnarea committed Jul 28, 2023
1 parent 54c9201 commit 5f74139
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,6 @@ resource "github_repository" "main" {
}
}

resource "github_branch_default" "main" {
repository = github_repository.main.name
branch = var.main_branch
rename = true
}

resource "github_branch_protection" "main" {
repository_id = github_repository.main.node_id
pattern = var.main_branch
Expand Down

0 comments on commit 5f74139

Please sign in to comment.