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 HXPS_GIT_COMMIT_SIGNING_PRIVATE_KEY: required: true jobs: pull-from-crowdin: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0 with: ref: develop token: ${{ secrets.BOT_GITHUB_TOKEN }} - name: Pull translations from Crowdin uses: crowdin/github-action@52aa776766211d83d975df51f3b9c53c2f8ba35f # v2.16.3 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: ${{ secrets.BOT_GITHUB_TOKEN }} CROWDIN_TOKEN: ${{ secrets.CROWDIN_TRANSLATIONS_TOKEN }}