You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
664 B
32 lines
664 B
3 years ago
|
name: Crowdin Action
|
||
|
|
||
|
permissions:
|
||
|
contents: write
|
||
|
pull-requests: write
|
||
|
|
||
|
on:
|
||
|
push:
|
||
|
branches:
|
||
|
- develop
|
||
|
schedule:
|
||
|
- cron: "0 */12 * * *"
|
||
|
|
||
|
jobs:
|
||
|
synchronize-with-crowdin:
|
||
|
runs-on: ubuntu-latest
|
||
|
|
||
|
steps:
|
||
|
|
||
|
- name: Checkout
|
||
|
uses: actions/checkout@v2
|
||
|
|
||
|
- name: crowdin action
|
||
|
uses: crowdin/github-action@d0622816ed4f4744db27d04374b2cef6867f7bed
|
||
|
with:
|
||
|
upload_translations: true
|
||
|
download_translations: true
|
||
|
env:
|
||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||
|
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
|
||
|
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
|