From 46b46978ffc725d5b29391a5bcbdcc48f0f3d7ac Mon Sep 17 00:00:00 2001 From: Michael Genson <71845777+michael-genson@users.noreply.github.com> Date: Sat, 31 Jan 2026 21:31:52 -0600 Subject: [PATCH] dev: Increase locale merge limit to 300 and allow PRs from Mealie bot (#6972) --- .github/workflows/auto-merge-l10n.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/auto-merge-l10n.yml b/.github/workflows/auto-merge-l10n.yml index 0eb321431..d56710b00 100644 --- a/.github/workflows/auto-merge-l10n.yml +++ b/.github/workflows/auto-merge-l10n.yml @@ -25,8 +25,12 @@ jobs: env: AUTHOR: ${{ github.event.pull_request.user.login }} run: | - if [[ "$AUTHOR" != "hay-kot" && "$AUTHOR" != "github-actions[bot]" ]]; then - echo "::error::PR author must be hay-kot or github-actions[bot] for auto-merge (got: $AUTHOR)" + if [[ + "$AUTHOR" != "hay-kot" && + "$AUTHOR" != "github-actions[bot]" && + "$AUTHOR" != "mealie-actions[bot]" + ]]; then + echo "::error::PR author must be hay-kot, github-actions[bot], or mealie-actions[bot] for auto-merge (got: $AUTHOR)" exit 1 fi echo "Author validated: $AUTHOR" @@ -43,8 +47,8 @@ jobs: echo "PR changes: +$ADDITIONS -$DELETIONS (total: $TOTAL lines)" - if [ "$TOTAL" -gt 200 ]; then - echo "::error::PR exceeds 200 line change limit ($TOTAL lines)" + if [ "$TOTAL" -gt 400 ]; then + echo "::error::PR exceeds 400 line change limit ($TOTAL lines)" exit 1 fi