From e7b71acd510c610e74f43b83f1ef917c1bf4408c Mon Sep 17 00:00:00 2001 From: Dave Arnold Date: Tue, 18 Feb 2025 21:47:20 -0800 Subject: [PATCH] Add dependencies for branch protection to include extra files and codeowners --- github_branch.tf | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/github_branch.tf b/github_branch.tf index 8e438d6..d656636 100644 --- a/github_branch.tf +++ b/github_branch.tf @@ -74,6 +74,9 @@ resource "github_branch_protection" "main" { } depends_on = [ - github_branch_default.default_main_branch + github_branch_default.default_main_branch, + github_repository_file.extra_files, + github_repository_file.codeowners, + github_repository_file.managed_extra_files ] }