Repository navigation
fix(ci): skip Python checkstyle for 1.13 PRs - #32245
Merged
Merged
Conversation
IceS2
requested review from
a team,
akash-jain-10,
harshach and
tutte
as code owners
August 28, 2026 13:53
Contributor
❌ PR checklist incompleteThis PR cannot be merged until the following are addressed on its linked issue:
The fields live on the linked issue in the Shipping project (open the issue → right sidebar → Projects). After you set them, re-run this check (or push a commit) — issue/project changes do not re-trigger it automatically. Maintainers can bypass this check by adding the |
Code Review ✅ ApprovedSkips Python Checkstyle job for 1.13 branch PRs to avoid running main-branch formatting toolchain against the older branch. No issues found. OptionsDisplay: compact → Showing less information. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source |
pmbrull
approved these changes
Aug 28, 2026
7 of 9 tasks
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Describe your changes
Prevent the Python Checkstyle job from running for pull requests targeting the 1.13 branch. Pull requests targeting main and merge queue runs remain unchanged.
This avoids running the current main-branch formatting toolchain against the older 1.13 branch. Follow-up to #32187.
Type of change
Verification
actionlint .github/workflows/py-checkstyle.ymlyqgit diff --check origin/main...HEADUI screen recording / screenshots
Not applicable.
Greptile Summary
This PR prevents Python Checkstyle from running for
pull_request_targetevents targeting the1.13branch while preserving existing behavior for other pull requests and merge-queue runs.github.base_ref != '1.13'guard scoped topull_request_target.safe to testlabel conditions.Confidence Score: 5/5
The PR appears safe to merge, with the workflow condition matching its stated branch-specific behavior.
The new predicate excludes only
pull_request_targetevents whose base branch is exactly1.13; merge-group events and pull requests targeting other branches continue through the existing conditions.Important Files Changed
Reviews (1): Last reviewed commit: "fix(ci): skip Python checkstyle for 1.13..." | Re-trigger Greptile