mirror of
https://github.com/mealie-recipes/mealie.git
synced 2026-04-09 14:35:35 -04:00
dev: Add backend translations to auto-approval (#7196)
This commit is contained in:
2
.github/workflows/auto-merge-l10n.yml
vendored
2
.github/workflows/auto-merge-l10n.yml
vendored
@@ -57,6 +57,7 @@ jobs:
|
|||||||
# Check if file matches any allowed path
|
# Check if file matches any allowed path
|
||||||
if [[ "$file" == "frontend/composables/use-locales/available-locales.ts" ]] || \
|
if [[ "$file" == "frontend/composables/use-locales/available-locales.ts" ]] || \
|
||||||
[[ "$file" =~ ^frontend/lang/ ]] || \
|
[[ "$file" =~ ^frontend/lang/ ]] || \
|
||||||
|
[[ "$file" =~ ^mealie/lang/ ]] || \
|
||||||
[[ "$file" =~ ^mealie/repos/seed/resources/[^/]+/locales/ ]]; then
|
[[ "$file" =~ ^mealie/repos/seed/resources/[^/]+/locales/ ]]; then
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
@@ -66,6 +67,7 @@ jobs:
|
|||||||
echo "Only the following paths are allowed:"
|
echo "Only the following paths are allowed:"
|
||||||
echo " - frontend/composables/use-locales/available-locales.ts"
|
echo " - frontend/composables/use-locales/available-locales.ts"
|
||||||
echo " - frontend/lang/"
|
echo " - frontend/lang/"
|
||||||
|
echo " - mealie/lang/"
|
||||||
echo " - mealie/repos/seed/resources/*/locales/"
|
echo " - mealie/repos/seed/resources/*/locales/"
|
||||||
exit 1
|
exit 1
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user