Skip to content
Snippets Groups Projects
Verified Commit f648ae03 authored by Lars Bilke's avatar Lars Bilke
Browse files

[pre-commit] Run on changed files only.

parent 833c5ab7
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,7 @@ pre commit:
needs: [ci_images]
script:
- pre-commit install
- pre-commit run --all-files
- pre-commit run --from-ref `git merge-base origin/master HEAD` --to-ref HEAD
- git diff --check `git merge-base origin/master HEAD` HEAD -- . ':!*.md' ':!*.pandoc' ':!*.asc' ':!*.dat' ':!*.ts'
after_script:
- git diff
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment