2021-10-08 11:43:48 +00:00
|
|
|
name: Crowdin Action
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- main
|
2022-09-08 17:01:47 +00:00
|
|
|
concurrency:
|
|
|
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
|
|
|
cancel-in-progress: true
|
2021-10-08 11:43:48 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
synchronize-with-crowdin:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
2022-09-08 17:01:47 +00:00
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v2
|
2021-10-08 11:43:48 +00:00
|
|
|
|
2022-09-08 17:01:47 +00:00
|
|
|
- name: crowdin action
|
|
|
|
uses: crowdin/github-action@1.4.9
|
|
|
|
with:
|
|
|
|
upload_translations: true
|
|
|
|
download_translations: true
|
2023-01-12 15:51:40 +00:00
|
|
|
pull_request_labels: '♻️ autoupdate, automerge'
|
2022-09-08 17:01:47 +00:00
|
|
|
env:
|
2023-01-10 15:05:14 +00:00
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
2022-09-08 17:01:47 +00:00
|
|
|
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
|
|
|
|
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
|