mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
CI: Make codespell checks blocking, but only check changed files
This commit is contained in:
parent
bd1bc68ba0
commit
b226f7e587
4 changed files with 11 additions and 8 deletions
7
.github/workflows/static_checks.yml
vendored
7
.github/workflows/static_checks.yml
vendored
|
|
@ -36,6 +36,8 @@ jobs:
|
|||
fi
|
||||
echo "$files" >> changed.txt
|
||||
cat changed.txt
|
||||
files=$(echo "$files" | tr '\n' ' ')
|
||||
echo "CHANGED_FILES=$files" >> $GITHUB_ENV
|
||||
|
||||
- name: File formatting checks (file_format.sh)
|
||||
run: |
|
||||
|
|
@ -98,9 +100,10 @@ jobs:
|
|||
fi
|
||||
|
||||
- name: Spell checks via codespell
|
||||
if: github.event_name == 'pull_request'
|
||||
uses: codespell-project/actions-codespell@v1
|
||||
with:
|
||||
skip: ./.*,./**/.*,./bin,./thirdparty,*.desktop,*.gen.*,*.po,*.pot,*.rc,./AUTHORS.md,./COPYRIGHT.txt,./DONORS.md,./core/input/gamecontrollerdb.txt,./core/string/locales.h,./editor/project_converter_3_to_4.cpp,./misc/scripts/codespell.sh,./platform/android/java/lib/src/com,./platform/web/node_modules,./platform/web/package-lock.json
|
||||
check_hidden: false
|
||||
ignore_words_list: curvelinear,doubleclick,expct,findn,gird,hel,inout,lod,nd,numer,ot,te
|
||||
only_warn: true
|
||||
ignore_words_list: curvelinear,doubleclick,expct,findn,gird,hel,inout,lod,nd,numer,ot,te,vai
|
||||
path: ${{ env.CHANGED_FILES }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue