mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-04-23 22:30:37 +00:00
34 lines
1.1 KiB
YAML
34 lines
1.1 KiB
YAML
name: Pull Translations from Crowdin
|
|
on:
|
|
schedule:
|
|
- cron: "0 7-17 * * 1-5"
|
|
workflow_dispatch:
|
|
workflow_call:
|
|
secrets:
|
|
BOT_GITHUB_TOKEN:
|
|
required: true
|
|
CROWDIN_TRANSLATIONS_TOKEN:
|
|
required: true
|
|
jobs:
|
|
pull-from-crowdin:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
with:
|
|
ref: develop
|
|
token: ${{ secrets.BOT_GITHUB_TOKEN }}
|
|
- name: Pull translations from Crowdin
|
|
uses: crowdin/github-action@8818ff65bfc4322384f983ea37e3926948c11745 # v2.15.0
|
|
with:
|
|
skip_ref_checkout: true
|
|
upload_sources: false
|
|
download_translations: true
|
|
create_pull_request: true
|
|
localization_branch_name: automated-translations-update
|
|
pull_request_title: "GH auto: Automated Update of Translations from Crowdin"
|
|
pull_request_base_branch_name: develop
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.BOT_GITHUB_TOKEN }}
|
|
CROWDIN_TOKEN: ${{ secrets.CROWDIN_TRANSLATIONS_TOKEN }}
|