Skip to content

Commit

Permalink
do not enable transaction if TX token is an empty string (#286)
Browse files Browse the repository at this point in the history
this would avoid complexity to handle lack on secrets (in PR from forks where secret is not available
  • Loading branch information
3nids authored Feb 9, 2024
1 parent 7c14e36 commit 5b8f518
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qgispluginci/release.py
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ def release(

release_tag = release_tag or release_version

if tx_api_token is not None:
if tx_api_token:
tr = Translation(parameters, create_project=False, tx_api_token=tx_api_token)
tr.pull()
tr.compile_strings()
Expand Down

0 comments on commit 5b8f518

Please sign in to comment.