diff --git a/main.tf b/main.tf index 5bc1dba..dc46b98 100644 --- a/main.tf +++ b/main.tf @@ -5,12 +5,13 @@ resource "github_repository" "main" { visibility = "public" topics = var.topics - // Only allow squash merges - allow_merge_commit = false - allow_rebase_merge = false - - allow_auto_merge = false - delete_branch_on_merge = true + // PR merging + allow_merge_commit = false + allow_rebase_merge = false + squash_merge_commit_title = "PR_TITLE" + squash_merge_commit_message = "PR_BODY" + allow_auto_merge = false + delete_branch_on_merge = true has_issues = var.support_issues has_discussions = var.support_discussions