mirror of
https://github.com/mealie-recipes/mealie.git
synced 2026-02-26 17:53:12 -05:00
Compare commits
1 Commits
auto-local
...
auto-local
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
26cdcbd9ba |
12
.github/workflows/auto-merge-l10n.yml
vendored
12
.github/workflows/auto-merge-l10n.yml
vendored
@@ -25,12 +25,8 @@ jobs:
|
||||
env:
|
||||
AUTHOR: ${{ github.event.pull_request.user.login }}
|
||||
run: |
|
||||
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)"
|
||||
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)"
|
||||
exit 1
|
||||
fi
|
||||
echo "Author validated: $AUTHOR"
|
||||
@@ -47,8 +43,8 @@ jobs:
|
||||
|
||||
echo "PR changes: +$ADDITIONS -$DELETIONS (total: $TOTAL lines)"
|
||||
|
||||
if [ "$TOTAL" -gt 400 ]; then
|
||||
echo "::error::PR exceeds 400 line change limit ($TOTAL lines)"
|
||||
if [ "$TOTAL" -gt 200 ]; then
|
||||
echo "::error::PR exceeds 200 line change limit ($TOTAL lines)"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user