File tree 1 file changed +43
-0
lines changed
1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Update translations
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
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
+ test :
18
+ runs-on : ubuntu-latest
19
+ steps :
20
+ - uses : actions/checkout@v4
21
+ - uses : actions/setup-python@v5
22
+ with :
23
+ python-version : ' 3.10'
24
+ cache : ' pip'
25
+ cache-dependency-path : setup.py
26
+ - name : Install system-level dependencies
27
+ run : sudo apt-get update && sudo apt-get install gettext
28
+ - name : Install dependencies
29
+ run : |
30
+ python -m pip install --upgrade pip pip-tools
31
+ pip-sync requirements-dev.txt
32
+ pip install -e .
33
+ - name : Setup Git
34
+ run : |
35
+ git config user.name "fdsbot"
36
+ git config user.email "[email protected] "
37
+ - name : Compile translations
38
+ run : make messagesde
39
+ - name : Commit translations
40
+ run : |
41
+ git add .
42
+ git commit -m "💬 update translation messages" || true
43
+ git push -u main:weblate-source
You can’t perform that action at this time.
0 commit comments