From 83a4f999a8c3ca6b26dec736d2fcd8655a1f6fa0 Mon Sep 17 00:00:00 2001 From: Dave Arnold Date: Thu, 20 Feb 2025 22:15:01 -0800 Subject: [PATCH] Fix context declaration for required status checks in GitHub repository test configuration --- github_repo.tftest.hcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/github_repo.tftest.hcl b/github_repo.tftest.hcl index e963102..d551186 100644 --- a/github_repo.tftest.hcl +++ b/github_repo.tftest.hcl @@ -89,7 +89,7 @@ run "verify_branch_protection_with_strict_settings" { pull_request_bypassers = ["test-user"] required_status_checks = { strict = true - contexts = try(["test/build", "test/lint"], []) + contexts = ["test/build", "test/lint"] } }