From 38f97d54b3e36c8986651333a418270e25353055 Mon Sep 17 00:00:00 2001 From: Jennifer Davis Date: Tue, 17 Nov 2026 05:23:52 +0000 Subject: [PATCH] ci: require the renamed "Lint changed Python files" check Problem: #14780 gave the lint job a display name, so GitHub now reports its status as "Lint changed Python files" instead of "lint" (the job ID). The required-check list in .github/sync-repo-settings.yaml still names "lint", so every PR waits on a check that is never reported. Removing it in the branch protection UI does not stick, because sync-repo-settings restores the protection rules from this file. Solution: Replace "lint" with "Lint changed Python files" in requiredStatusCheckContexts so the required check matches the name the Lint workflow reports. No other settings change. --- .github/sync-repo-settings.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/sync-repo-settings.yaml b/.github/sync-repo-settings.yaml index 908068914cc..56039b26a4c 100644 --- a/.github/sync-repo-settings.yaml +++ b/.github/sync-repo-settings.yaml @@ -42,7 +42,7 @@ branchProtectionRules: requiresStrictStatusChecks: false # List of required status check contexts that must pass for commits to be accepted to matching branches. requiredStatusCheckContexts: - - "lint" + - "Lint changed Python files" - "cla/google" - "snippet-bot check" # List of explicit permissions to add (additive only)