From 13053fd6faf7183f83a5b0b9e270aef820067f9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Malfait?= Date: Mon, 17 Feb 2025 11:30:25 +0100 Subject: [PATCH] Fix i18n ci (#10246) --- .github/workflows/i18n-pull.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/i18n-pull.yaml b/.github/workflows/i18n-pull.yaml index 62b524958..e905dcf34 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 'github-actions@twenty.com' + 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