scripts/check-pr: check only for English pages (#11980)

pull/23/head
Sebastiaan Speck 2024-01-03 14:34:10 +01:00 committed by GitHub
parent e3f7dd2ca5
commit b2f0fb4c04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -28,6 +28,12 @@ function check_duplicates {
readarray -td'/' parts < <(echo -n "$page")
local language_folder=${parts[0]}
if [[ "$language_folder" != "pages" ]]; then # only check for duplicates in English
return 1
fi
local platform=${parts[1]}
local file=${parts[2]}