Skip to content

The open alternative to Salesforce, designed for AI.

I18n ci 6 (#10320)

Félix Malfaitdf3d3a3c0c14
diff --git a/.github/workflows/i18n-pull.yaml b/.github/workflows/i18n-pull.yaml
index 25fb0aa4cf0..b94261ca799 100644
--- a/.github/workflows/i18n-pull.yaml
+++ b/.github/workflows/i18n-pull.yaml
@@ -76,8 +76,6 @@ jobs:
download_translations: true
export_only_approved: false
localization_branch_name: i18n
- commit_message: 'i18n - pull translations'
- pull_request_title: 'i18n - translations'
base_url: 'https://twenty.api.crowdin.com'
auto_approve_imported: false
import_eq_suggestions: false
@@ -86,16 +84,20 @@ jobs:
skip_untranslated_strings: false
skip_untranslated_files: false
push_translations: true
- create_pull_request: true
+ create_pull_request: false
skip_ref_checkout: true
dryrun_action: false
- github_base_url: 'github.com'
- github_user_name: 'Crowdin Bot'
- github_user_email: '[email protected]'
env:
GITHUB_TOKEN: ${{ github.token }}
CROWDIN_PROJECT_ID: '1'
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
+
+ - name: Commit Translations
+ run: |
+ git config --global user.name 'github-actions'
+ git config --global user.email '[email protected]'
+ git add .
+ git commit -m "chore: pull translations [skip ci]"
- name: Compile translations
if: inputs.force_pull || steps.compile_translations.outcome == 'failure'
@@ -111,7 +113,7 @@ jobs:
git config --global user.email '[email protected]'
git add .
if ! git diff --staged --quiet --exit-code; then
- git commit -m "chore: compile translations [skip ci]"
+ git commit -m "chore: compile translations"
echo "changes_detected=true" >> $GITHUB_OUTPUT
else
echo "changes_detected=false" >> $GITHUB_OUTPUT