Skip to content

Commit 595a4ea

Browse files
morisilclaude
andcommitted
add allowed_merge_methods to ruleset
Enforce squash-only merges at the ruleset level, matching the repository settings for consistency. Co-Authored-By: Claude Opus 4.5 <[email protected]>
1 parent 8b1f196 commit 595a4ea

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

repository/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ resource "github_repository_ruleset" "main" {
6969
required_review_thread_resolution = true
7070
dismiss_stale_reviews_on_push = true
7171
require_last_push_approval = true
72+
allowed_merge_methods = ["squash"]
7273
}
7374

7475
dynamic "required_status_checks" {

0 commit comments

Comments
 (0)