forked from pimcore/pimcore
-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (26 loc) · 898 Bytes
/
poeditor-import.yml
File metadata and controls
33 lines (26 loc) · 898 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: "POEditor Translations Import"
on:
workflow_dispatch:
inputs:
languages:
description: 'Language-Codes (csv, eg. zh-CN)'
required: false
default: ''
jobs:
poeditor:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.head_ref }}
- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
- name: POEditor
env:
POEDITOR_TOKEN: ${{ secrets.POEDITOR_TOKEN }}
POEDITOR_LANGUAGES: ${{ github.event.inputs.languages }}
run: |
php .github/ci/scripts/poeditor-import.php
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Update POEditor translations