From 33dd9d97eac1537df91dc1bf857d662886151f70 Mon Sep 17 00:00:00 2001 From: jasquat Date: Fri, 9 Dec 2022 17:15:53 -0500 Subject: [PATCH] need to set upstream when git pushing w/ burnettk --- .../src/spiffworkflow_backend/services/git_service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spiffworkflow-backend/src/spiffworkflow_backend/services/git_service.py b/spiffworkflow-backend/src/spiffworkflow_backend/services/git_service.py index 582cf064b..f5b1d0989 100644 --- a/spiffworkflow-backend/src/spiffworkflow_backend/services/git_service.py +++ b/spiffworkflow-backend/src/spiffworkflow_backend/services/git_service.py @@ -228,7 +228,7 @@ class GitService: f"from {g.user.username} on {current_app.config['ENV_IDENTIFIER']}" ) cls.commit(commit_message, destination_process_root) - cls.run_shell_command(["git", "push"]) + cls.run_shell_command(["git", "push", "--set-upstream", "origin", branch_to_pull_request]) # build url for github page to open PR git_remote = cls.run_shell_command_to_get_stdout(