Skip to content

Download translated strings #18

Download translated strings

Download translated strings #18

##################################################################################
# Calls workflow from code repo
##################################################################################
name: Download translated strings
on:
workflow_dispatch:
inputs:
pr-title:
description: Title for PR
type: string
default: Translation sync from actions
pr-body:
description: Description for PR
type: string
default: Automated Translation PR creation from actions
jobs:
call_get_vars:
uses: ./.github/workflows/get-vars.yml
call_reusable_workflow:
needs: call_get_vars
uses: IDEMSInternational/open-app-builder-actions/.github/workflows/translations_down.yml@main
with:
pr-title: ${{ inputs.pr-title }}
pr-body: ${{ inputs.pr-body }}
LFS_USED: ${{ needs.call_get_vars.outputs.LFS_USED == 'true' }}
APP_CODE_BRANCH: ${{ vars.APP_CODE_BRANCH }}
DEPLOYMENT_NAME: ${{ needs.call_get_vars.outputs.DEPLOYMENT_NAME }}
PARENT_DEPLOYMENT_NAME: ${{ needs.call_get_vars.outputs.PARENT_DEPLOYMENT_NAME }}
PARENT_DEPLOYMENT_REPO: ${{ needs.call_get_vars.outputs.PARENT_DEPLOYMENT_REPO }}
PARENT_DEPLOYMENT_BRANCH: ${{ needs.call_get_vars.outputs.PARENT_DEPLOYMENT_BRANCH }}
ENCRYPTED: ${{ needs.call_get_vars.outputs.ENCRYPTED == 'true' }}
TRANSLATION_REPO: ${{ needs.call_get_vars.outputs.TRANSLATION_REPO }}
secrets:
DEPLOYMENT_PRIVATE_KEY: ${{ secrets.DEPLOYMENT_PRIVATE_KEY }}
GDRIVE_CREDENTIALS: ${{ secrets.GDRIVE_CREDENTIALS }}
GDRIVE_TOKEN: ${{ secrets.GDRIVE_TOKEN }}
PAT: ${{ secrets.PAT }}