Skip to content

Commit

Permalink
add POEditor translation workflow (#713)
Browse files Browse the repository at this point in the history
  • Loading branch information
Corepex committed Mar 27, 2023
1 parent 4f8a9e4 commit fe4e614
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/poeditor-export.yaml
@@ -0,0 +1,22 @@
name: "Trigger POEditor Translations Export"

on:
workflow_dispatch:
push:
branches:
- "[0-9]+.x"
paths:
- 'src/Resources/translations/admin.en.yaml'

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

0 comments on commit fe4e614

Please sign in to comment.