Skip to content

The open alternative to Salesforce, designed for AI.

Fix i18n ci (#10246)

Félix Malfait13053fd6faf7
diff --git a/.github/workflows/i18n-pull.yaml b/.github/workflows/i18n-pull.yaml
index 62b5249589d..e905dcf3406 100644
--- a/.github/workflows/i18n-pull.yaml
+++ b/.github/workflows/i18n-pull.yaml
@@ -60,6 +60,12 @@ jobs:
npx nx run twenty-front:lingui:compile --strict
continue-on-error: true
+ - name: Stash any changes before pulling translations
+ run: |
+ git config --global user.name 'github-actions'
+ git config --global user.email '[email protected]'
+ git stash
+
- name: Pull translations from Crowdin
if: inputs.force_pull || steps.compile_translations.outcome == 'failure'
uses: crowdin/github-action@v2
@@ -119,3 +125,4 @@ jobs:
run: gh pr create -B main -H i18n --title 'i18n - translations' --body 'Created by Github action' || true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+# End of Selection