From 2e36b1404be9a626b0bab3e327a90e068342d2b6 Mon Sep 17 00:00:00 2001 From: Philipp A Date: Tue, 17 Sep 2024 14:37:55 +0200 Subject: [PATCH] Backport PR #3236: Fix towncrier git CLI call --- ci/scripts/towncrier_automation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/scripts/towncrier_automation.py b/ci/scripts/towncrier_automation.py index 7dcb3cb7bf..57a093a305 100755 --- a/ci/scripts/towncrier_automation.py +++ b/ci/scripts/towncrier_automation.py @@ -76,7 +76,7 @@ def main(argv: Sequence[str] | None = None) -> None: # push if not args.dry_run: subprocess.run( - ["git", "push", "--set-upstream=origin", branch_name], check=True + ["git", "push", "--set-upstream", "origin", branch_name], check=True ) else: print("Dry run, not pushing")