Skip to content

[CI] Switch to prek-action workflow - #14549

Open
jbampton wants to merge 2 commits into
apache:mainfrom
jbampton:add-prek-action
Open

jbampton wants to merge 2 commits into
apache:mainfrom
jbampton:add-prek-action

Conversation

@jbampton

@jbampton jbampton commented Nov 1, 2026

Copy link
Copy Markdown
Member

Add a separate workflow for the manual hooks

Description

This PR refs #14093

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)
  • Build/CI
  • Test (unit or integration test code)

Feature/Enhancement Scale or Bug Severity

Feature/Enhancement Scale

  • Major
  • Minor

Bug Severity

  • BLOCKER
  • Critical
  • Major
  • Minor
  • Trivial

Screenshots (if appropriate):

How Has This Been Tested?

How did you try to break this feature and the system with this change?

Add a separate workflow for the manual hooks
Copilot AI balanced review requested due to automatic review settings November 1, 2026 00:11

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.

🟡 Changes recommended

The manual workflow duplicates the Run pre-commit check name on pull requests, which can create ambiguous results and block merging if branch protection requires that check.

1 open issue
What changed in this PR

This PR advances the migration from pre-commit to prek described in #14093 and separates manual-stage hooks into their own CI workflow.

Changes:

  • Replace explicit Python setup, installation, and caching with j178/prek-action.
  • Run manual-stage hooks in a separate pull-request workflow.
  • Update checkout and adjust cancellation behavior in both workflows.
File Description
.github/​workflows/​pre-commit.yml Switch normal hooks to prek-action and remove manual-stage execution.
.github/​workflows/​pre-commit-manual.yml Add a dedicated workflow for running manual-stage hooks with prek.

Review effort: Balanced

Comment thread .github/workflows/pre-commit-manual.yml Resolved
Copilot AI balanced review requested due to automatic review settings November 1, 2026 00:14

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.

🟢 Approval recommended

No active review issues are recorded for the migration to prek and separation of manual-stage hooks.

No open issues 🎉

1 resolved since last review

Review effort: Balanced

Copilot AI balanced review requested due to automatic review settings November 1, 2026 00:21
@codecov

codecov Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 20.76%. Comparing base (92e44bb) to head (4ddc813).

Additional details and impacted files
@@            Coverage Diff            @@
##               main   #14549   +/-   ##
=========================================
  Coverage     20.76%   20.76%           
- Complexity    21905    21906    +1     
=========================================
  Files          6496     6496           
  Lines        591605   591605           
  Branches      72583    72583           
=========================================
+ Hits         122854   122861    +7     
+ Misses       455414   455407    -7     
  Partials      13337    13337           
Flag Coverage Δ
uitests 3.88% <ø> (ø)
unittests 22.07% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

🟢 Approval recommended

No active review issues are reported for the migration to separate standard and manual-stage prek workflows.

No open issues 🎉

Review effort: Balanced

This branch has not been deployed

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants