We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ded212 commit 19fcf85Copy full SHA for 19fcf85
.github/workflows/sync.yml
@@ -14,7 +14,7 @@ on:
14
secrets:
15
TX_TOKEN:
16
description: "Token required for interacting with Transifex API"
17
- required: true
+ required: false
18
19
env:
20
PYDOC_LANGUAGE: pt_BR
@@ -91,7 +91,7 @@ jobs:
91
powrap *.po **/*.po
92
93
- name: Update statistics
94
- if: always()
+ if: always() && inputs.secrets.TX_TOKEN != 0
95
run: |
96
python ./scripts/tx_stats.py > cpython/Doc/locale/${{ env.PYDOC_LANGUAGE }}/LC_MESSAGES/stats.json
97
git -C cpython/Doc/locale/${{ env.PYDOC_LANGUAGE }}/LC_MESSAGES/ diff stats.json
0 commit comments