fix: retry locale workflow pushes
This commit is contained in:
parent
cdc1a3fbc9
commit
e83f56c9ae
@ -194,4 +194,11 @@ jobs:
|
||||
git config user.email "openclaw-docs-i18n[bot]@users.noreply.github.com"
|
||||
git add "docs/${LOCALE}" "docs/.i18n/${LOCALE}.tm.jsonl"
|
||||
git commit -m "chore(i18n): refresh ${LOCALE} translations"
|
||||
git push origin HEAD:main
|
||||
for attempt in 1 2 3 4 5; do
|
||||
if git pull --rebase origin main && git push origin HEAD:main; then
|
||||
exit 0
|
||||
fi
|
||||
sleep 5
|
||||
done
|
||||
echo "Failed to push ${LOCALE} translations after retries."
|
||||
exit 1
|
||||
|
||||
Loading…
Reference in New Issue
Block a user