From 9ee520ea70559c6ad1eb52eab159daf263be0db5 Mon Sep 17 00:00:00 2001 From: Aarav Gauba Date: Fri, 23 Oct 2026 21:21:57 -0500 Subject: [PATCH] Bug Fixes --- .github/workflows/translate.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/translate.yml b/.github/workflows/translate.yml index 6716baa8..a6679c50 100644 --- a/.github/workflows/translate.yml +++ b/.github/workflows/translate.yml @@ -14,7 +14,7 @@ env: jobs: update-translations: name: Update Translations - if: github.actor != 'brutusthebee' + if: github.repository == 'beeware/beeware-docs-tools' && github.actor != 'brutusthebee' runs-on: ubuntu-latest # GitHub writes use BRUTUS_PAT_TOKEN, so the job's own GITHUB_TOKEN needs # no permissions. @@ -58,6 +58,10 @@ jobs: [weblate] url = https://hosted.weblate.org/api/ translation = beeware/docs-tools-shared-content + retries = 5 + backoff_factor = 2 + status_forcelist = 423,502 + allowed_methods = GET,POST,PUT,DELETE,HEAD,OPTIONS [keys] https://hosted.weblate.org/api/ = $WEBLATE_API_TOKEN @@ -105,6 +109,7 @@ jobs: run: wlc pull - name: Unlock Weblate + if: always() run: wlc unlock # # This step is only needed if you're trying to diagnose test failures that