Skip to content

Commit

Permalink
test: add merge_queue block to ruleset create and import tests
Browse files Browse the repository at this point in the history
  • Loading branch information
MXfive committed Dec 24, 2024
1 parent 9f2faaa commit df49932
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions github/resource_github_repository_ruleset_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,16 @@ func TestGithubRepositoryRulesets(t *testing.T) {
require_last_push_approval = true
}
merge_queue {
check_response_timeout_minutes = 30
grouping_strategy = "HEADGREEN"
max_entries_to_build = 4
max_entries_to_merge = 4
merge_method = SQUASH
min_entries_to_merge = 2
min_entries_to_merge_wait_minutes = 10
}
required_status_checks {
required_check {
Expand Down Expand Up @@ -322,6 +332,16 @@ func TestGithubRepositoryRulesets(t *testing.T) {
require_last_push_approval = true
}
aerge_queue {
check_response_timeout_minutes = 30
grouping_strategy = "HEADGREEN"
max_entries_to_build = 4
max_entries_to_merge = 4
merge_method = SQUASH
min_entries_to_merge = 2
min_entries_to_merge_wait_minutes = 10
}
required_status_checks {
required_check {
Expand Down

0 comments on commit df49932

Please sign in to comment.