applanga-pull #59
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Pull Target Files from Applanga" | |
on: | |
repository_dispatch: | |
types: [applanga-pull] | |
jobs: | |
pull-translation-in: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
ref: ${{ github.head_ref }} | |
path: 'checkout' | |
- uses: applanga/[email protected] | |
with: | |
version: 1.0.73 | |
- name: Pull translations from Applanga | |
env: | |
APPLANGA_ACCESS_TOKEN: ${{ secrets.APPLANGA_ACCESS_TOKEN }} | |
run: applanga pull | |
working-directory: checkout | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v3 | |
with: | |
branch: newTranslations | |
author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | |
commit-message: Updated translations | |
title: Updated translations | |
body: Pulled in new translations from Applanga portal | |
path: 'checkout' |