Pre-commit Runner
Plugin to run pre-commit hooks
A Woodpecker CI plugin to run your pre-commit hooks.
Usage example:
pipeline:
run-pre-commit-hooks:
image: codeberg.org/sp1thas/woodpecker-ci-pre-commit-runner
settings:
args: "--all-files"
skip: "end-of-file-fixer"
Configuration settings
| Name | Default | Description |
|---|---|---|
args |
none | Any extra arguments passed to pre-commit command |
skip |
none | Comma-seperated hook ids that should be skipped |
pre-commit-home |
none | if set, pre-commit will use that location instead. Ref: Managing CI Caches |