Skip to content

Commit

Permalink
Merge pull request #2 from github-as-code/require-code-owner-reviews
Browse files Browse the repository at this point in the history
Add force enablement of code owner reviews as a requirement.
  • Loading branch information
rackergs authored Oct 4, 2018
2 parents cc56d18 + 6827fb2 commit fc8e5ba
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/github_repo/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@ resource "github_branch_protection" "branch" {
# Tune review requirements
required_pull_request_reviews {
dismiss_stale_reviews = true
require_code_owner_reviews = true
}



depends_on = ["github_repository.repository"]
}
Expand Down

0 comments on commit fc8e5ba

Please sign in to comment.