Skip to content

Commit 6827fb2

Browse files
authored
Add force enablement of code owner reviews as a requirement.
If someone wants to help variablize these things rather than just enforcing a strict standard, bu all means please do so 😁
1 parent cc56d18 commit 6827fb2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

modules/github_repo/main.tf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,10 @@ resource "github_branch_protection" "branch" {
2626
# Tune review requirements
2727
required_pull_request_reviews {
2828
dismiss_stale_reviews = true
29+
require_code_owner_reviews = true
2930
}
31+
32+
3033

3134
depends_on = ["github_repository.repository"]
3235
}

0 commit comments

Comments
 (0)