Skip to content

Commit 2372758

Browse files
ci: use reusable translation-sync workflow (#4818)
* ci: open PR for translation updates instead of pushing directly * ci: also trigger translation workflow on pull request for testing * ci: use reusable translation-sync workflow
1 parent 5739997 commit 2372758

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

.github/workflows/translate.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: "Update translations"
2+
3+
on:
4+
workflow_dispatch:
5+
schedule:
6+
- cron: "0 3 * * *"
7+
pull_request:
8+
branches:
9+
- master
10+
11+
permissions: {}
12+
13+
jobs:
14+
update-translations:
15+
uses: owncloud/reusable-workflows/.github/workflows/translation-sync.yml@main
16+
with:
17+
mode: native
18+
sub_path: .
19+
secrets:
20+
TX_TOKEN: ${{ secrets.TX_TOKEN }}
21+
TRANSLATION_APP_ID: ${{ secrets.TRANSLATION_APP_ID }}
22+
TRANSLATION_APP_PRIVATE_KEY: ${{ secrets.TRANSLATION_APP_PRIVATE_KEY }}

0 commit comments

Comments
 (0)