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