Skip to content

Commit

Permalink
simplify
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexJameson committed Aug 22, 2024
1 parent 084182a commit 6cb6ad6
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/spellcheck-ru.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
cspell $file --config cspell.json --show-suggestions --files ${{ steps.files.outputs.all_files }} --debug --no-must-find-file

0 comments on commit 6cb6ad6

Please sign in to comment.