docker-images/.woodpecker/pre-commit.yaml

11 lines
262 B
YAML

when:
- event: [push, pull_request, manual]
steps:
- name: pre-commit
image: python:alpine
commands:
- apk add --update --no-cache git
- pip install --root-user-action ignore pre-commit
- ls -lah
- pre-commit run --all-files