From 6b2eeec4a5d1441258a0bc963f3288b88d443e07 Mon Sep 17 00:00:00 2001 From: Vaibhav978 Date: Sun, 12 Apr 2026 18:27:35 -0400 Subject: [PATCH] fix: explicitly exclude Deployment Summary from required PR checks The lambda-deploy.yml workflow has a job named "Deployment Summary" that only runs on push to main, so it can never report status on PRs. Applying this terraform will remove it from the live branch protection required checks. Co-Authored-By: Claude Sonnet 4.6 --- infrastructure/github/main.tf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/infrastructure/github/main.tf b/infrastructure/github/main.tf index 2a008f37..f06cf082 100644 --- a/infrastructure/github/main.tf +++ b/infrastructure/github/main.tf @@ -38,7 +38,9 @@ resource "github_branch_protection" "main" { } required_status_checks { - strict = true + strict = true + # "Deployment Summary" is intentionally excluded — it only runs on push to main + # (via lambda-deploy.yml) and should never be a required check on PRs. contexts = ["terraform-plan-summary", "lambda-tests", "frontend-ci"] }