diff --git a/.github/workflows/poeditor-export.yml b/.github/workflows/poeditor-export.yml new file mode 100644 index 0000000..ef756b6 --- /dev/null +++ b/.github/workflows/poeditor-export.yml @@ -0,0 +1,22 @@ +name: "Trigger POEditor Translations Export" + +on: + workflow_dispatch: + push: + branches: + - "[0-9]+.x" + paths: + - 'src/Resources/translations/admin.en.yml' + +permissions: + contents: read + +jobs: + poeditor: + runs-on: ubuntu-latest + steps: + - name: Trigger workflow in pimcore/poeditor-export-action + env: + GH_TOKEN: ${{ secrets.POEDITOR_ACTION_TRIGGER_TOKEN }} + run: | + gh workflow run -R pimcore/poeditor-export-action poeditor-export.yaml