mirror of
https://github.com/home-assistant/core.git
synced 2025-07-27 15:17:35 +00:00
Fix script for checking on existing translations (#114354)
This commit is contained in:
parent
a07dc85bf4
commit
ed90df309c
6
.github/workflows/builder.yml
vendored
6
.github/workflows/builder.yml
vendored
@ -53,11 +53,9 @@ jobs:
|
|||||||
|
|
||||||
- name: Fail if translations files are checked in
|
- name: Fail if translations files are checked in
|
||||||
run: |
|
run: |
|
||||||
files=$(find homeassistant/components/*/translations -type f)
|
if [ -n "$(find homeassistant/components/*/translations -type f)" ]; then
|
||||||
|
|
||||||
if [ -n "$files" ]; then
|
|
||||||
echo "Translations files are checked in, please remove the following files:"
|
echo "Translations files are checked in, please remove the following files:"
|
||||||
echo "$files"
|
find homeassistant/components/*/translations -type f
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user