chore(i18n): run workflow every hour + download translations for PR
This commit is contained in:
6
.github/workflows/translations.yml
vendored
6
.github/workflows/translations.yml
vendored
@@ -1,6 +1,9 @@
|
|||||||
name: Translation job
|
name: Translation job
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
schedule:
|
||||||
|
# Run the workflow every hour
|
||||||
|
- cron: "0 * * * *"
|
||||||
push:
|
push:
|
||||||
paths:
|
paths:
|
||||||
- 'web/i18n/en/translation.json'
|
- 'web/i18n/en/translation.json'
|
||||||
@@ -36,11 +39,12 @@ jobs:
|
|||||||
uses: crowdin/github-action@v1
|
uses: crowdin/github-action@v1
|
||||||
with:
|
with:
|
||||||
upload_sources: true
|
upload_sources: true
|
||||||
download_translations: false
|
download_translations: true
|
||||||
create_pull_request: true
|
create_pull_request: true
|
||||||
pull_request_title: 'New Translations'
|
pull_request_title: 'New Translations'
|
||||||
localization_branch_name: translations
|
localization_branch_name: translations
|
||||||
pull_request_base_branch_name: 'develop'
|
pull_request_base_branch_name: 'develop'
|
||||||
|
commit_message: 'Updated translations'
|
||||||
config: crowdin.yml
|
config: crowdin.yml
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|||||||
Reference in New Issue
Block a user