From bd189fea38fef7b85914520d03dc8960364b7839 Mon Sep 17 00:00:00 2001 From: Seb3thehacker Date: Wed, 4 Nov 2026 23:14:37 -0800 Subject: [PATCH] Weblate's own pull requests pass the translations check The check fails any pull request that edits a translation, which included Weblate's when it opens one instead of pushing. --- .github/workflows/translations.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/translations.yml b/.github/workflows/translations.yml index 4f811c0..f01ebbc 100644 --- a/.github/workflows/translations.yml +++ b/.github/workflows/translations.yml @@ -3,6 +3,7 @@ name: Translations # Weblate is the only thing that writes translated strings: it pushes straight to experimental, # never through a pull request. A PR that edits them collides with Weblate's own copy, and # Weblate locks itself until someone resets it. Edit the English strings.xml only. +# Weblate's own pull requests are the exception: they are the translations. on: pull_request: paths: @@ -10,6 +11,7 @@ on: jobs: weblate-only: + if: github.event.pull_request.user.login != 'weblate' runs-on: ubuntu-latest steps: - name: Translations go through Weblate