From 5b8f5182f6f4ae9f40704fbca51eeedbcc71ceb5 Mon Sep 17 00:00:00 2001 From: Denis Rouzaud Date: Fri, 9 Feb 2024 13:45:03 +0100 Subject: [PATCH] do not enable transaction if TX token is an empty string (#286) this would avoid complexity to handle lack on secrets (in PR from forks where secret is not available --- qgispluginci/release.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qgispluginci/release.py b/qgispluginci/release.py index 27e18c01..23546cd9 100644 --- a/qgispluginci/release.py +++ b/qgispluginci/release.py @@ -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()