Removed gh pr argument
All checks were successful
gl/check check status: success (9a3ea9501829d4fc9ab353703d3ea863bf0bab8f)
All checks were successful
gl/check check status: success (9a3ea9501829d4fc9ab353703d3ea863bf0bab8f)
This commit is contained in:
parent
22594ecced
commit
9a3ea95018
@ -259,7 +259,7 @@ def process_repositories(args, service):
|
|||||||
if args.branch_force:
|
if args.branch_force:
|
||||||
push_args.append("--force")
|
push_args.append("--force")
|
||||||
repo_to.git.push(*push_args)
|
repo_to.git.push(*push_args)
|
||||||
if "github" in url_to and args.open_gh_pr:
|
if "github" in url_to:
|
||||||
subprocess.run(
|
subprocess.run(
|
||||||
args=["gh", "pr", "create", "-f"], cwd=copy_to, check=False
|
args=["gh", "pr", "create", "-f"], cwd=copy_to, check=False
|
||||||
)
|
)
|
||||||
@ -345,11 +345,6 @@ def main():
|
|||||||
),
|
),
|
||||||
help="Commit description for the commit",
|
help="Commit description for the commit",
|
||||||
)
|
)
|
||||||
parser.add_argument(
|
|
||||||
"--open-gh-pr",
|
|
||||||
action="store_true",
|
|
||||||
help="Whether to open a PR on GitHub"
|
|
||||||
)
|
|
||||||
|
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
logging.basicConfig(level=logging.DEBUG)
|
logging.basicConfig(level=logging.DEBUG)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user