diff --git a/.github/workflows/check-i18n-task.yml b/.github/workflows/check-i18n-task.yml index 3d7689aa6f9..993c05ac274 100644 --- a/.github/workflows/check-i18n-task.yml +++ b/.github/workflows/check-i18n-task.yml @@ -32,5 +32,9 @@ jobs: repo-token: ${{ secrets.GITHUB_TOKEN }} version: 3.x - - name: Check i18n source file is up to date + - name: Check i18n source and translation files are up to date run: task i18n:check + env: + TRANSIFEX_PROJECT: ${{ secrets.TRANSIFEX_PROJECT }} + TRANSIFEX_RESOURCE: ${{ secrets.TRANSIFEX_RESOURCE }} + TRANSIFEX_API_KEY: ${{ secrets.TRANSIFEX_API_KEY }} diff --git a/Taskfile.yml b/Taskfile.yml index 015d4b61484..70d0e60402f 100755 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -266,7 +266,6 @@ tasks: cmds: - task: go:vet - task: go:lint - - task: i18n:check - task: python:lint - task: protoc:check @@ -299,7 +298,7 @@ tasks: i18n:check: desc: Check if the i18n message catalog was updated cmds: - - task: i18n:update + - task: i18n:pull - git add -N ./i18n/data - git diff --exit-code ./i18n/data