Fix i18n ci (#10246)
This commit is contained in:
7
.github/workflows/i18n-pull.yaml
vendored
7
.github/workflows/i18n-pull.yaml
vendored
@ -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
|
||||
|
||||
Reference in New Issue
Block a user