sleep while .git/index.lock exists
@@ -15,7 +15,7 @@ jobs:
- name: Linting
run: |
pip install pre-commit
- rm -fv .git/index.lock
+ while [ -f .git/index.lock ]; do sleep 1; done
pre-commit run --all-files
Linux:
