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