Skip to content

Use prek action with autofix.ci - #3123

Merged
adamtheturtle merged 2 commits into
mainfrom
agent/prek-autofix-ci
Aug 5, 2026
Merged

Use prek action with autofix.ci#3123
adamtheturtle merged 2 commits into
mainfrom
agent/prek-autofix-ci

Conversation

@adamtheturtle

@adamtheturtle adamtheturtle commented Aug 5, 2026

Copy link
Copy Markdown
Member

Summary

  • run the existing lint jobs with j178/prek-action@v3.0.0 and prek 0.4.11
  • add a dedicated autofix.ci producer workflow using autofix-ci/action@v1.3.4
  • remove legacy pre-commit.ci Lite configuration where present
  • let Dependabot update hook revisions through its pre-commit ecosystem

Both actions use exact release tags rather than commit SHAs, following the agreed rollout policy.

Validation

  • all changed YAML parses successfully
  • actionlint passes for both changed workflows
  • zizmor reports no findings for both changed workflows

Part of adamtheturtle/Coding-Project-TODOs#8.

Before merge

  • Install the autofix.ci GitHub App for this repository
  • Confirm autofix commits are produced on a test pull request
  • Remove the pre-commit.ci GitHub App after the replacement is verified

Note

Medium Risk
Changes how all lint/fix automation runs in CI and introduces autofix commits on main/PRs; misconfiguration could block merges or push unwanted commits until the autofix.ci app is installed and verified.

Overview
Replaces pre-commit.ci Lite with prek in GitHub Actions and adds autofix.ci to push hook-driven fixes back to PRs.

The Lint workflow now runs hooks through j178/prek-action@v3.0.0 (prek 0.4.11) instead of a bash uv run prek step, and drops the pre-commit-ci/lite-action step. A new autofix.ci workflow on main PRs/pushes runs the same prek action at the pre-commit stage with --no-fail-fast, then uploads changes via autofix-ci/action@v1.3.4.

Dependabot gains a pre-commit ecosystem entry for daily hook revision updates. The ci: skip: block is removed from .pre-commit-config.yaml because pre-commit.ci is no longer the remote CI path.

Reviewed by Cursor Bugbot for commit 0444aa6. Bugbot is set up for automated code reviews on this repo. Configure here.

@adamtheturtle
adamtheturtle marked this pull request as ready for review August 5, 2026 17:58
@adamtheturtle
adamtheturtle merged commit 9858f65 into main Aug 5, 2026
14 checks passed
@adamtheturtle
adamtheturtle deleted the agent/prek-autofix-ci branch August 5, 2026 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant