Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit19fcf85

Browse files
authored
Allow TX_TOKEN to be empty in sync.yml (#233)
This should allow dependabot to run, without pulling translations and without updating translation statisticas
1 parent9ded212 commit19fcf85

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
@@ -14,7 +14,7 @@ on:
1414
secrets:
1515
TX_TOKEN:
1616
description:"Token required for interacting with Transifex API"
17-
required:true
17+
required:false
1818

1919
env:
2020
PYDOC_LANGUAGE:pt_BR
@@ -91,7 +91,7 @@ jobs:
9191
powrap *.po **/*.po
9292
9393
-name:Update statistics
94-
if:always()
94+
if:always() && inputs.secrets.TX_TOKEN != 0
9595
run:|
9696
python ./scripts/tx_stats.py > cpython/Doc/locale/${{ env.PYDOC_LANGUAGE }}/LC_MESSAGES/stats.json
9797
git -C cpython/Doc/locale/${{ env.PYDOC_LANGUAGE }}/LC_MESSAGES/ diff stats.json

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp