install the GitHub Application on the relevant repositories
add the GitHub action to your workflow as the last step in your job:
- uses: pre-commit-ci/[email protected] if: always()
note: the step must have either the default
name or contain the text
pre-commit-ci-lite. the application uses this to find the right workflow.
pre-commit.ci lite only provides auto fixing of PRs, but allows the flexibility of using GitHub Actions as a runner.
auto fixing PRs
periodic automatic hook updates
arbitrary setup (
other code modification tools
technically pre-commit.ci lite works for any code modification, though it was
pre-commit in mind. here is an example workflow: