mirror of
https://github.com/mealie-recipes/mealie.git
synced 2026-04-16 09:55:34 -04:00
fix: Update frontend refs (#7444)
This commit is contained in:
8
.github/workflows/auto-merge-l10n.yml
vendored
8
.github/workflows/auto-merge-l10n.yml
vendored
@@ -55,8 +55,8 @@ jobs:
|
||||
|
||||
for file in $FILES; do
|
||||
# Check if file matches any allowed path
|
||||
if [[ "$file" == "frontend/composables/use-locales/available-locales.ts" ]] || \
|
||||
[[ "$file" =~ ^frontend/lang/ ]] || \
|
||||
if [[ "$file" == "frontend/app/composables/use-locales/available-locales.ts" ]] || \
|
||||
[[ "$file" =~ ^frontend/app/lang/ ]] || \
|
||||
[[ "$file" =~ ^mealie/lang/ ]] || \
|
||||
[[ "$file" =~ ^mealie/repos/seed/resources/[^/]+/locales/ ]]; then
|
||||
continue
|
||||
@@ -65,8 +65,8 @@ jobs:
|
||||
# File doesn't match allowed paths
|
||||
echo "::error::Invalid file path: $file"
|
||||
echo "Only the following paths are allowed:"
|
||||
echo " - frontend/composables/use-locales/available-locales.ts"
|
||||
echo " - frontend/lang/"
|
||||
echo " - frontend/app/composables/use-locales/available-locales.ts"
|
||||
echo " - frontend/app/lang/"
|
||||
echo " - mealie/lang/"
|
||||
echo " - mealie/repos/seed/resources/*/locales/"
|
||||
exit 1
|
||||
|
||||
Reference in New Issue
Block a user