From 43e4143218fdf40b01c62a27649eb26cba0ec865 Mon Sep 17 00:00:00 2001 From: Ludy87 Date: Sun, 26 Oct 2025 12:43:02 +0100 Subject: [PATCH] Update check_locales.yml --- .github/workflows/check_locales.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check_locales.yml b/.github/workflows/check_locales.yml index 1c4d75231..5baba16a0 100644 --- a/.github/workflows/check_locales.yml +++ b/.github/workflows/check_locales.yml @@ -79,7 +79,7 @@ jobs: exit 1 fi # Get changed files and filter for properties files, handle case where no matches are found - gh pr view ${{ steps.get-pr-data.outputs.pr_number }} --json files -q ".files[].path" | grep -E '^frontend/public/locales/[a-zA-Z_]{2}-[a-zA-Z_]{2,7}/translation.json$' > changed_files.txt || echo "No matching properties files found in PR" + gh pr view ${{ steps.get-pr-data.outputs.pr_number }} --json files -q ".files[].path" | grep -E '^frontend/public/locales/[a-zA-Z_]{2}-[a-zA-Z-]{2,7}/translation.json$' > changed_files.txt || echo "No matching properties files found in PR" # Check if any files were found if [ ! -s changed_files.txt ]; then echo "No properties files changed in this PR" @@ -129,7 +129,7 @@ jobs: const changedFiles = files .filter(file => file.status !== "removed" && - /^frontend\/public\/locales\/[a-zA-Z_]{2}-[a-zA-Z_]{2,7}\/translation\.json$/.test(file.filename) + /^frontend\/public\/locales\/[a-zA-Z_]{2}-[a-zA-Z-]{2,7}\/translation\.json$/.test(file.filename) ) .map(file => file.filename);