From 01a6cdb882816077e8cbfa39f99e27b72a062d38 Mon Sep 17 00:00:00 2001 From: KOBAYASHI Shuji Date: Sun, 20 Dec 2020 22:50:47 +0900 Subject: Use `git ls-files` instead of `find` in `spell-checker.yml` [ci skip] To avoid including `.git` directory. --- .github/workflows/spell-checker.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/spell-checker.yml b/.github/workflows/spell-checker.yml index 307617c4a..7e86e0198 100644 --- a/.github/workflows/spell-checker.yml +++ b/.github/workflows/spell-checker.yml @@ -14,4 +14,4 @@ jobs: wget -O - -q https://git.io/misspell | sh -s -- -b . - name: 🌶️ Misspell run: | - find . -type f | xargs ./misspell -error + git ls-files --empty-directory | xargs ./misspell -error -- cgit v1.2.3