From 79ca299726093ee29fcea08517f0ace89607342a Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Tue, 13 Jan 2026 22:49:46 +0200 Subject: [PATCH 1/3] feat(i18n): add workflow to check translation coverage --- .github/workflows/i18n.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/i18n.yml diff --git a/.github/workflows/i18n.yml b/.github/workflows/i18n.yml new file mode 100644 index 000000000..6b36b788f --- /dev/null +++ b/.github/workflows/i18n.yml @@ -0,0 +1,26 @@ +name: Internationalization +on: + push: + branches: + - "weblate:*" + workflow_dispatch: + pull_request: + paths: + - "apps/client/src/translations/**" + +jobs: + i18n-check: + name: Check i18n translations + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v6 + - uses: pnpm/action-setup@v4 + - name: Set up node & dependencies + uses: actions/setup-node@v6 + with: + node-version: 24 + cache: 'pnpm' + - name: Install dependencies + run: pnpm install --frozen-lockfile + - name: Check translations + run: pnpm tsx scripts/translation/check-translation-coverage.ts From e7ff364c011e5440ba64504de1746546fc721fe4 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Tue, 13 Jan 2026 22:52:51 +0200 Subject: [PATCH 2/3] chore(i18n): trigger on workflow change --- .github/workflows/i18n.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/i18n.yml b/.github/workflows/i18n.yml index 6b36b788f..d75384f8a 100644 --- a/.github/workflows/i18n.yml +++ b/.github/workflows/i18n.yml @@ -7,6 +7,7 @@ on: pull_request: paths: - "apps/client/src/translations/**" + - ".github/workflows/i18n.yml" jobs: i18n-check: From 4800f2a172796b408e4e77892cc1809de442e086 Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Tue, 13 Jan 2026 22:56:27 +0200 Subject: [PATCH 3/3] chore(ci/i18n): add permissions --- .github/workflows/i18n.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/i18n.yml b/.github/workflows/i18n.yml index d75384f8a..a07eeea8d 100644 --- a/.github/workflows/i18n.yml +++ b/.github/workflows/i18n.yml @@ -9,6 +9,9 @@ on: - "apps/client/src/translations/**" - ".github/workflows/i18n.yml" +permissions: + contents: read + jobs: i18n-check: name: Check i18n translations