Skip to content

Commit 9828987

Browse files
committed
Fetch only reviewed translations from Transifex
1 parent 34f9ac3 commit 9828987

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

‎.github/workflows/transifex-pull.yml‎

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,13 @@ jobs:
4747
env:
4848
TX_TOKEN: ${{ secrets.TX_TOKEN }}
4949

50-
- run: ./transifex-util.py fetch --language pa --project-slug python-newest --version ${{ matrix.version }}
50+
- name: Fetch reviewed translations from Transifex
51+
run: |
52+
./transifex-util.py fetch \
53+
--language pa \
54+
--project-slug python-newest \
55+
--version ${{ matrix.version }} \
56+
--pull-options="--mode reviewed"
5157
env:
5258
TX_TOKEN: ${{ secrets.TX_TOKEN }}
5359

@@ -69,7 +75,7 @@ jobs:
6975
7076
- run: git add . ':!transifex-util.py'
7177

72-
- run: git commit -m "Update translation from Transifex"
78+
- run: git commit -m "Update reviewed translations from Transifex"
7379
if: env.SIGNIFICANT_CHANGES
7480

7581
- uses: ad-m/github-push-action@master

0 commit comments

Comments
 (0)