Skip to content
Prev Previous commit
Update check.yml
  • Loading branch information
rffontenelle authored Sep 18, 2025
commit 67f313d77b8daff993f2d1ea5a4b2fabbeb33a7f
9 changes: 5 additions & 4 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -231,15 +231,16 @@ jobs:

# Run a per-directory, group-separated spellcheck
- name: Check spelling
working-directory: cpython/Doc/locales/pt_BR/LC_MESSAGES
continue-on-error: true
run: |
wd=$PWD
check_spell=$PWD/scripts/check_spell.py
langdir=$PWD/cpython/Doc/locales/pt_BR/LC_MESSAGES
cd $langdir
dirs=". $(find * -type d | sort)"
for dir in $dirs; do
echo "::group::{$dir}"
cd $wd/$dir
cd $langdir/$dir
po_files=$(find -maxdepth 1 -name '*.po' | sort)
python ../../../../../scripts/check_spell.py $po_files || :
python $check_spell $po_files || :
echo "::endgroup::"
done
Loading