ci: Run pre-commit only on whitelisted files

pull/1578/head
Noah Gorny 2020-10-15 23:49:52 +03:00 committed by phreakocious
parent 392fc0bd4a
commit ddc5a19d69
2 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ jobs:
GO111MODULE=on go get mvdan.cc/sh/v3/cmd/shfmt;
curl https://pre-commit.com/install-local.py | python3 -
script:
SKIP=shellcheck pre-commit run --all-files;
pre-commit run --files `cat clean_files.txt`;
- <<: *native_job
name: Ubuntu 16.04

0
clean_files.txt 100644
View File