Skip to content

Commit

Permalink
Merge pull request #87 from PrestaShopCorp/feat/crowdin
Browse files Browse the repository at this point in the history
Setup crowdin translations
  • Loading branch information
aAmorim27 authored Jul 12, 2021
2 parents f4be480 + a808872 commit 0bf842f
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/crowdin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Sync translations

on:
push:
branches: [ master, integration ]
branches: [ master, feat/**, feature/** ]

jobs:
synchronize-with-crowdin:
Expand All @@ -17,15 +17,16 @@ jobs:
shell: bash
run: |
echo BRANCH=${GITHUB_REF#refs/heads/} >> $GITHUB_ENV
echo CROWDIN_BRANCH=$(echo "$GITHUB_REF" | sed -e 's/refs\/heads\///' -e 's/\//./g') >> $GITHUB_ENV
- name: Crowdin action
uses: crowdin/[email protected].0
uses: crowdin/[email protected].2
with:
download_translations: trueq
download_translations: true
localization_branch_name: l10n/${{ env.BRANCH }}
pull_request_title: New Crowdin translations for ${{ env.BRANCH }} branch
pull_request_base_branch_name: ${{ env.BRANCH }}
crowdin_branch_name: ${{ env.BRANCH }}
crowdin_branch_name: ${{ env.CROWDIN_BRANCH }}
config: crowdin.yml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 0bf842f

Please sign in to comment.