This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 401e8e47697 Bring back check translation completeness (#55341)
401e8e47697 is described below
commit 401e8e47697e3970223d29d0b80ed250b750f279
Author: Jarek Potiuk <[email protected]>
AuthorDate: Sun Sep 7 09:16:50 2025 +0200
Bring back check translation completeness (#55341)
The check has been accidentally removed in #55328 - this PR brings
it back.
---
.github/workflows/basic-tests.yml | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/.github/workflows/basic-tests.yml
b/.github/workflows/basic-tests.yml
index 0f61212f468..341d5a1987e 100644
--- a/.github/workflows/basic-tests.yml
+++ b/.github/workflows/basic-tests.yml
@@ -183,6 +183,32 @@ jobs:
retention-days: '2'
if: steps.restore-eslint-cache-simple-am-ui.outputs.stash-hit != 'true'
+ check-translation-completness:
+ timeout-minutes: 15
+ name: "Check translation completeness"
+ runs-on: ${{ fromJSON(inputs.runners) }}
+ steps:
+ - name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
+ uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #
v4.2.2
+ with:
+ persist-credentials: false
+ - name: "Install prek"
+ uses: ./.github/actions/install-prek
+ id: prek
+ with:
+ python-version: ${{steps.breeze.outputs.host-python-version}}
+ skip-prek-hooks: ${{ inputs.skip-prek-hooks }}
+ platform: ${{ inputs.platform }}
+ save-cache: false
+ - name: "Check translation completeness"
+ run: >
+ prek --show-diff-on-failure --color always
+ --hook-stage manual --verbose --all-files
+ check-translations-completeness
+ env:
+ SKIP: ${{ inputs.skip-prek-hooks }}
+ COLUMNS: "202"
+
# Those checks are run if no image needs to be built for checks. This is for
simple changes that
# Do not touch any of the python code or any of the important files that
might require building
# The CI Docker image and they can be run entirely using the prek virtual
environments on host