The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
fix(ci): stop the i18n formatting ping-pong between Crowdin pull and push workflows (#24590)
Abdul Rahman4373833b8d9e
diff --git a/.github/workflows/i18n-pull.yaml b/.github/workflows/i18n-pull.yamlindex 1a6f47f2e63..eccf004681a 100644--- a/.github/workflows/i18n-pull.yaml+++ b/.github/workflows/i18n-pull.yaml@@ -93,6 +93,12 @@ jobs:env:CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}+ - name: Normalize downloaded catalogs to lingui format+ run: |+ npx nx run twenty-server:lingui:extract+ npx nx run twenty-emails:lingui:extract+ npx nx run twenty-front:lingui:extract+- name: Compile translationsid: compile_translationsrun: |diff --git a/.github/workflows/i18n-push.yaml b/.github/workflows/i18n-push.yamlindex 7a31010a83c..5664ff08841 100644--- a/.github/workflows/i18n-push.yaml+++ b/.github/workflows/i18n-push.yaml@@ -9,6 +9,10 @@ on:workflow_call:push:branches: ['main']+ paths-ignore:+ - 'packages/twenty-front/src/locales/**'+ - 'packages/twenty-emails/src/locales/**'+ - 'packages/twenty-server/src/engine/core-modules/i18n/locales/**'concurrency:group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}diff --git a/.github/workflows/website-i18n-pull.yaml b/.github/workflows/website-i18n-pull.yamlindex bf5a4ab3d1e..da4d1e76444 100644--- a/.github/workflows/website-i18n-pull.yaml+++ b/.github/workflows/website-i18n-pull.yaml@@ -87,6 +87,9 @@ jobs:- name: Fix file permissionsrun: sudo chown -R runner:docker .+ - name: Normalize downloaded catalogs to lingui format+ run: npx nx run twenty-website:lingui:extract+- name: Compile website translationsid: compile_translationsrun: |diff --git a/.github/workflows/website-i18n-push.yaml b/.github/workflows/website-i18n-push.yamlindex d948c9696f0..053ae36e195 100644--- a/.github/workflows/website-i18n-push.yaml+++ b/.github/workflows/website-i18n-push.yaml@@ -11,6 +11,7 @@ on:branches: ['main']paths:- 'packages/twenty-website/**'+ - '!packages/twenty-website/src/locales/**'- '.github/crowdin-website.yml'- '.github/workflows/website-i18n-push.yaml'