Skip to content

fix(ci): skip Python checkstyle for 1.13 PRs - #32245

Merged
pmbrull merged 1 commit into
mainfrom
fix/skip-python-checkstyle-1.13
Aug 28, 2026
Merged

pmbrull merged 1 commit into
mainfrom
fix/skip-python-checkstyle-1.13

Conversation

@IceS2

@IceS2 IceS2 commented Aug 28, 2026 •

Copy link
Copy Markdown
Collaborator

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

  • Bug fix

Verification

  • actionlint .github/workflows/py-checkstyle.yml
  • Parsed and asserted the exact job condition with yq
  • git diff --check origin/main...HEAD

UI screen recording / screenshots

Not applicable.

Greptile Summary

This PR prevents Python Checkstyle from running for pull_request_target events targeting the 1.13 branch while preserving existing behavior for other pull requests and merge-queue runs.

  • Adds a github.base_ref != '1.13' guard scoped to pull_request_target.
  • Retains the existing draft and safe to test label 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_target events whose base branch is exactly 1.13; merge-group events and pull requests targeting other branches continue through the existing conditions.

Important Files Changed

Filename Overview
.github/workflows/py-checkstyle.yml The job condition narrowly skips Python Checkstyle for 1.13-targeted pull requests without changing merge-group execution.

Reviews (1): Last reviewed commit: "fix(ci): skip Python checkstyle for 1.13..." | Re-trigger Greptile

Copilot AI lite review requested due to automatic review settings August 28, 2026 13:53
@IceS2
IceS2 requested review from a team, akash-jain-10, harshach and tutte as code owners August 28, 2026 13:53

Copilot AI 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.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@github-actions

Copy link
Copy Markdown
Contributor

❌ PR checklist incomplete

This PR cannot be merged until the following are addressed on its linked issue:

  • No GitHub issue is linked. Link an issue in the Development section of the PR (or add Fixes #12345 to the description). For a same-org cross-repo issue, add Fixes open-metadata/<repo>#123 to the description.

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 skip-pr-checks label.

@github-actions github-actions Bot added Ingestion safe to test Add this label to run secure Github workflows on PRs labels Aug 28, 2026
@gitar-bot

gitar-bot Bot commented Aug 28, 2026

Copy link
Copy Markdown
Code Review ✅ Approved

Skips Python Checkstyle job for 1.13 branch PRs to avoid running main-branch formatting toolchain against the older branch. No issues found.

Options

Display: compact → Showing less information.

Comment with these commands to change the behavior for this request:

Compact
gitar display:verbose         

Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source

This branch was previously deployed

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

Labels

Ingestion safe to test Add this label to run secure Github workflows on PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants