build: rm crowdin-sync (#6793)
This commit is contained in:
parent
342b0c81f6
commit
c0163767ed
33
.github/workflows/crowdin-sync.yaml
vendored
33
.github/workflows/crowdin-sync.yaml
vendored
@ -1,33 +0,0 @@
|
|||||||
name: Crowdin Download
|
|
||||||
|
|
||||||
on:
|
|
||||||
schedule:
|
|
||||||
# Download translations every hour.
|
|
||||||
# This is not done as part of the build so that builds remain reproducible.
|
|
||||||
- cron: '0 * * * *'
|
|
||||||
# manual trigger
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
download-translations:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
- uses: ./.github/actions/setup
|
|
||||||
- run: yarn i18n:extract
|
|
||||||
|
|
||||||
- name: Download Crowdin translations
|
|
||||||
uses: crowdin/github-action@3133cc916c35590475cf6705f482fb653d8e36e9
|
|
||||||
with:
|
|
||||||
upload_sources: false
|
|
||||||
download_translations: true
|
|
||||||
project_id: 458284
|
|
||||||
token: ${{ secrets.CROWDIN_PERSONAL_TOKEN_SECRET }}
|
|
||||||
source: 'src/locales/en-US.po'
|
|
||||||
translation: 'src/locales/%locale%.po'
|
|
||||||
create_pull_request: true
|
|
||||||
pull_request_title: 'chore(i18n): new Crowdin translations'
|
|
||||||
localization_branch_name: l10n_crowdin
|
|
||||||
commit_message: 'chore(i18n): synchronize translations from crowdin [skip ci]'
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
Loading…
Reference in New Issue
Block a user