diff --git a/.github/labeler-config-srvaroa.yml b/.github/labeler-config-srvaroa.yml index 3ed51cf32..15ecd43ee 100644 --- a/.github/labeler-config-srvaroa.yml +++ b/.github/labeler-config-srvaroa.yml @@ -56,6 +56,7 @@ labels: - 'app/core/src/main/resources/templates/fragments/languages.html' - '.github/scripts/check_language_properties.py' - '.github/scripts/sync_translations.py' + - 'frontend/public/locales/[a-zA-Z]{2}-[a-zA-Z-]{2,7}/translation.json' - label: 'Front End' files: diff --git a/.github/workflows/check_locales.yml b/.github/workflows/check_locales.yml index e99f36e18..d43e5bc45 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"