Fix i18n ci (#10246)

This commit is contained in:
Félix Malfait
2025-02-17 11:30:25 +01:00
committed by GitHub
parent 5b961cbb7f
commit 13053fd6fa

View File

@ -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