Skip to content

Commit c54fc61

Browse files
committed
✨ Add github action to create translation pr
1 parent dbdb69d commit c54fc61

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/translations-pr.yml

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Open translation PR
2+
3+
on:
4+
push:
5+
branches:
6+
- weblate
7+
workflow_dispatch:
8+
9+
concurrency:
10+
group: ${{ github.workflow }}
11+
cancel-in-progress: true
12+
13+
permissions:
14+
contents: write
15+
16+
jobs:
17+
translation-r:
18+
runs-on: ubuntu-latest
19+
steps:
20+
- name: create pull request
21+
run: gh pr create -B main -H weblate --title 'Translations update from Weblate'
22+
env:
23+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)