Skip to content

Update README.md

Update README.md #13

Workflow file for this run

name: Precommit
on: push
jobs:
run:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v3
- name: Run pre-commit
uses: pre-commit/[email protected]
with:
extra_args: --all-files
- name: Fail if pre-commit changed files
run: |
if [[ -n "$(git status --porcelain)" ]]; then
echo "pre-commit changed files, please run pre-commit locally and commit the changes"
exit 1
fi