Skip to content

ci: require the renamed "Lint changed Python files" check - #14832

Open
iennae wants to merge 1 commit into
mainfrom
ci/sync-required-lint-check
Open

iennae wants to merge 1 commit into
mainfrom
ci/sync-required-lint-check

Conversation

@iennae

@iennae iennae commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

Problem

#14780 gave the lint job a display name (name: Lint changed Python files), so GitHub now reports its status under that name instead of lint (the job ID).

requiredStatusCheckContexts in .github/sync-repo-settings.yaml still lists lint, so every PR waits on a required check that nothing reports anymore ("Expected — Waiting for status to be reported"), even though the lint job itself passes. Removing lint in the branch protection UI doesn't stick, because sync-repo-settings rewrites branch protection from this file.

Solution

Replace "lint" with "Lint changed Python files" in requiredStatusCheckContexts, so the required check matches the name the Lint workflow reports.

One-line change to one file; no other settings change. (#14268 already switched this entry from the workflow name to the job's check name. This keeps that approach for the renamed job.)

Note: this PR may itself need an admin bypass to merge, since the stale lint check is still required until the change syncs.

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.
@iennae
iennae requested review from a team as code owners November 17, 2026 05:24
@product-auto-label product-auto-label Bot added the samples Issues that are directly related to samples. label Nov 17, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the repository settings in .github/sync-repo-settings.yaml by renaming the required status check context from 'lint' to 'Lint changed Python files'. There are no review comments, and I have no feedback to provide.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

samples Issues that are directly related to samples.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants