Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 0421ea5

Browse files
committedJan 20, 2025
test: add merge_queue block to ruleset create and import tests
1 parent ae3b259 commit 0421ea5

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
 

‎github/resource_github_repository_ruleset_test.go

+20
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,16 @@ func TestGithubRepositoryRulesets(t *testing.T) {
7373
require_last_push_approval = true
7474
}
7575
76+
merge_queue {
77+
check_response_timeout_minutes = 30
78+
grouping_strategy = "HEADGREEN"
79+
max_entries_to_build = 4
80+
max_entries_to_merge = 4
81+
merge_method = SQUASH
82+
min_entries_to_merge = 2
83+
min_entries_to_merge_wait_minutes = 10
84+
}
85+
7686
required_status_checks {
7787
7888
required_check {
@@ -323,6 +333,16 @@ func TestGithubRepositoryRulesets(t *testing.T) {
323333
require_last_push_approval = true
324334
}
325335
336+
merge_queue {
337+
check_response_timeout_minutes = 30
338+
grouping_strategy = "HEADGREEN"
339+
max_entries_to_build = 4
340+
max_entries_to_merge = 4
341+
merge_method = SQUASH
342+
min_entries_to_merge = 2
343+
min_entries_to_merge_wait_minutes = 10
344+
}
345+
326346
required_status_checks {
327347
328348
required_check {

0 commit comments

Comments
 (0)
Please sign in to comment.