10000 Trynto fix TX_TOKEN availability check in sync.yml (#249) · python/python-docs-pt-br@9826099 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9826099

Browse files
authored
Trynto fix TX_TOKEN availability check in sync.yml (#249)
1 parent e10e52a commit 9826099

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/sync.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
shell: bash
6565
run: |
6666
available=false
67-
[ "${{ secrets.TX_TOKEN }}" != '' ] && available=true
67+
[[ "${{ secrets.TX_TOKEN }}" != '' ]] && available=true
6868
echo "available=$available" >> $GITHUB_OUTPUT
6969
echo "available=$available"
7070
@@ -113,7 +113,7 @@ jobs:
113113
powrap *.po **/*.po
114114
115115
- name: Update statistics
116-
if: always() && ${{ steps.secret-check.outputs.available != 'true' }}
116+
if: always() && steps.secret-check.outputs.available == 'true'
117117
run: |
118118
python ./scripts/tx_stats.py > ./${{ env.LANGUAGE_DIR }}/stats.json
119119
git -C ./${{ env.LANGUAGE_DIR }} diff stats.json

0 commit comments

Comments
 (0)
0