mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
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@7ca9c452bfe9197d3bb7fa83a4d7e2b0c9ae835d # v2.16.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 }}
|