mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 07:53:26 +00:00
Add static check for overzealous .gitignores.
This commit is contained in:
parent
90f3992036
commit
7ea171adca
2 changed files with 31 additions and 0 deletions
5
.github/workflows/static_checks.yml
vendored
5
.github/workflows/static_checks.yml
vendored
|
@ -41,6 +41,11 @@ jobs:
|
|||
files=$(echo "$files" | grep -v 'thirdparty' | xargs -I {} sh -c 'echo "./{}"' | tr '\n' ' ')
|
||||
echo "CHANGED_FILES=$files" >> $GITHUB_ENV
|
||||
|
||||
# This needs to happen before Python and npm execution; it must happen before any extra files are written.
|
||||
- name: .gitignore checks (gitignore_check.sh)
|
||||
run: |
|
||||
bash ./misc/scripts/gitignore_check.sh
|
||||
|
||||
- name: File formatting checks (file_format.sh)
|
||||
run: |
|
||||
bash ./misc/scripts/file_format.sh changed.txt
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue