From 6cb6ad605a44c0a19c26da3a3e3c6143aaad9254 Mon Sep 17 00:00:00 2001 From: Alexander Yakovlev <33040934+AlexJameson@users.noreply.github.com> Date: Thu, 22 Aug 2024 19:18:39 +0300 Subject: [PATCH] simplify --- .github/workflows/spellcheck-ru.yml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/.github/workflows/spellcheck-ru.yml b/.github/workflows/spellcheck-ru.yml index 20054216c45..24b6187c78b 100644 --- a/.github/workflows/spellcheck-ru.yml +++ b/.github/workflows/spellcheck-ru.yml @@ -34,13 +34,4 @@ jobs: - name: Run CSpell on all changed files continue-on-error: true run: | - IFS=' ' read -r -a files <<< "${{ steps.files.outputs.all_files }}" - echo "${files[@]}" - for file in "${files[@]}"; do - if [[ "$file" == ".github/workflows/spellcheck-ru.yml" || "$file" == "cspell.json" ]]; then - echo "Skipping CSpell check for $file" - continue - fi - echo "Checking $file for spelling errors..." - cspell "$file" --config cspell.json --show-suggestions - done \ No newline at end of file + cspell $file --config cspell.json --show-suggestions --files ${{ steps.files.outputs.all_files }} --debug --no-must-find-file \ No newline at end of file