diff options
Diffstat (limited to '.github/workflows/spelling.yml')
-rw-r--r-- | .github/workflows/spelling.yml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/.github/workflows/spelling.yml b/.github/workflows/spelling.yml index 18a302e3c..946d411d1 100644 --- a/.github/workflows/spelling.yml +++ b/.github/workflows/spelling.yml @@ -30,6 +30,14 @@ jobs: - name: checkout if: github.event_name == 'push' uses: actions/checkout@v2 + - name: find aliases + run: | + for a in $(git ls-files|grep '\.zsh$'); do + echo "-- $a" + if [ -s "$a" ]; then + perl -ne 'next unless s/^alias ([A-Za-z]{3,})=.*/$1/;print' "$a" | tee -a .github/actions/spelling/allow.txt + fi + done; - name: check-spelling id: spelling uses: check-spelling/check-spelling@prerelease |