Skip to content

Commit f1cc9ff

Browse files
author
berfinyuksel
committed
Add reusable POEditor export workflow
1 parent eed751a commit f1cc9ff

File tree

2 files changed

+43
-0
lines changed

2 files changed

+43
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: "Trigger POEditor Translations Export"
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches:
7+
- "[0-9]+.x"
8+
- "docs_actions"
9+
- "main"
10+
paths:
11+
- "src/Resources/translations/admin.en.yml"
12+
13+
permissions:
14+
contents: read
15+
16+
jobs:
17+
poeditor:
18+
uses: pimcore/workflows-collection-public/.github/workflows/reusable-poeditor.yaml@main
19+
secrets:
20+
POEDITOR_ACTION_TRIGGER_TOKEN: ${{ secrets.POEDITOR_ACTION_TRIGGER_TOKEN }}
21+
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: "Trigger POEditor Translations Export"
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches:
7+
- "[0-9]+.x"
8+
paths:
9+
- 'src/Resources/translations/admin.en.yaml'
10+
11+
permissions:
12+
contents: read
13+
14+
jobs:
15+
poeditor:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- name: Trigger workflow in pimcore/poeditor-export-action
19+
env:
20+
GH_TOKEN: ${{ secrets.POEDITOR_ACTION_TRIGGER_TOKEN }}
21+
run: |
22+
gh workflow run -R pimcore/poeditor-export-action poeditor-export.yaml

0 commit comments

Comments
 (0)