mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
Bumps [crowdin/github-action](https://github.com/crowdin/github-action) from 2.17.1 to 3.0.2. - [Release notes](https://github.com/crowdin/github-action/releases) - [Commits](https://github.com/crowdin/github-action/compare/8f01d54f70f1713ee3f09d82c2bbb2daeac28689...0d5670f539973aea2f01abce61a8989934df0025) --- updated-dependencies: - dependency-name: crowdin/github-action dependency-version: 3.0.2 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
47 lines
1.8 KiB
YAML
47 lines
1.8 KiB
YAML
name: Pull Translations from Crowdin
|
|
on:
|
|
schedule:
|
|
- cron: "0 7-17 * * 1-5"
|
|
workflow_dispatch:
|
|
workflow_call:
|
|
secrets:
|
|
GH_APP_ENGINEERING_CONTRIB_PRIVATE_KEY:
|
|
required: true
|
|
CROWDIN_TRANSLATIONS_TOKEN:
|
|
required: true
|
|
HXPS_GIT_COMMIT_SIGNING_PRIVATE_KEY:
|
|
required: true
|
|
jobs:
|
|
pull-from-crowdin:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Generate app token
|
|
id: app-token
|
|
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
|
|
with:
|
|
client-id: ${{ vars.GH_APP_ENGINEERING_CONTRIB_CLIENT_ID }}
|
|
private-key: ${{ secrets.GH_APP_ENGINEERING_CONTRIB_PRIVATE_KEY }}
|
|
permission-contents: write
|
|
permission-pull-requests: write
|
|
- name: Checkout
|
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
with:
|
|
ref: develop
|
|
token: ${{ steps.app-token.outputs.token }}
|
|
- name: Pull translations from Crowdin
|
|
uses: crowdin/github-action@0d5670f539973aea2f01abce61a8989934df0025 # v3.0.2
|
|
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
|
|
github_user_name: ${{ vars.HXPS_GIT_USERNAME }}
|
|
github_user_email: ${{ vars.HXPS_GIT_EMAIL }}
|
|
gpg_private_key: ${{ secrets.HXPS_GIT_COMMIT_SIGNING_PRIVATE_KEY }}
|
|
env:
|
|
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
|
|
CROWDIN_TOKEN: ${{ secrets.CROWDIN_TRANSLATIONS_TOKEN }}
|