Merged
Conversation
Signed-off-by: Matt Norton <matt@carrotmanmatt.com>
Contributor
There was a problem hiding this comment.
Pull request overview
This PR replaces the pre-commit-ci/lite-action with autofix-ci/action to enable automatic pre-commit fixes on bot-authored PRs (e.g., from Renovate). The pre-commit job logic is extracted into a reusable workflow that can be called both standalone (on PRs, with autofix) and from the main CI workflow (without autofix).
Changes:
- Extracted the pre-commit job into a new reusable workflow (
.github/workflows/autofix-pre-commit.yaml) triggered onpull_requestandworkflow_call, usingautofix-ci/action@v1.3.3instead ofpre-commit-ci/lite-action. - Updated
.github/workflows/check-build-deploy.yamlto call the reusable workflow withskip-autofix: true, added top-levelpermissions, and removedcontents: readfrom thebuild-and-publishjob. - Added autofix-ci bot email addresses to
gitIgnoredAuthorsin Renovate config to prevent Renovate from treating autofix commits as manual changes.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
.github/workflows/autofix-pre-commit.yaml |
New reusable workflow with pre-commit checks and autofix-ci action |
.github/workflows/check-build-deploy.yaml |
Replaced inline pre-commit job with reusable workflow call; adjusted permissions |
.github/renovate.json |
Added autofix-ci bot emails to gitIgnoredAuthors |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
MattyTheHacker
approved these changes
Mar 15, 2026
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
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.
https://autofix.ci is an alternative to the pre-commit.ci/lite action, which allows for commiting pre-commit auto-fixes, even if the PR was made by a bot. This means that when renovate opens a dependency upgrade and the
tsvikas/sync-with-uvpre-commit hook syncs the update between the pre-commit config & the lock file, this edit can be commited automatically.