| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Add a separate workflow for the manual hooks
There was a problem hiding this comment.
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 PRThis PR advances the migration from pre-commit to prek described in #14093 and separates manual-stage hooks into their own CI workflow.
Changes:
| 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
Sorry, something went wrong.
Codecov Report✅ All modified and coverable lines are covered by tests. @@ Coverage Diff @@
## main #14549 +/- ##
============================================
+ Coverage 20.76% 20.78% +0.01%
- Complexity 21905 21931 +26
============================================
Files 6496 6496
Lines 591605 591657 +52
Branches 72583 72592 +9
============================================
+ Hits 122854 122966 +112
+ Misses 455414 455346 -68
- Partials 13337 13345 +8
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness.
|
Sorry, something went wrong.
|
@jbampton , the prek standard job fails (also after retried) can you have a look? |
Sorry, something went wrong.
There was a problem hiding this comment.
The manual workflow can populate the shared cache with incomplete hook environments, forcing subsequent standard runs to reinstall dependencies without being able to update the cache on exact hits.
1 open issueReview effort: Balanced
Sorry, something went wrong.
There was a problem hiding this comment.
Human assessment is needed because an unpublished workflow-concurrency finding indicates obsolete hook runs may compete with current checks for runner capacity.
No open issues 🎉
1 resolved since last reviewReview effort: Balanced
Sorry, something went wrong.
There was a problem hiding this comment.
The standard-hooks job fails before running any hooks because extra-args duplicates options already supplied by the pinned prek-action; use only --all-files or omit extra-args.
1 open issueReview effort: Balanced
Sorry, something went wrong.
| persist-credentials: false | ||
| - uses: j178/prek-action@44924fe9ef4a6f88253c4b6b1bf11c689d3ce53d # v3.1.0 | ||
| with: | ||
| extra-args: --all-files --show-diff-on-failure --color=always |
| Back | FazBrowse Home | New Git URL |
Add a separate workflow for the manual hooks
Description
This PR refs #14093
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
How did you try to break this feature and the system with this change?