mirror of
https://github.com/openSUSE/osc.git
synced 2025-11-28 15:29:52 +01:00
Add a different message for scheduled merges in 'git-obs pr merge' command
This commit is contained in:
@@ -29,9 +29,10 @@ class PullRequestMergeCommand(osc.commandline_git.GitObsCommand):
|
||||
pull_request_ids = args.id
|
||||
|
||||
for pr_index, pr_id in enumerate(pull_request_ids):
|
||||
self.print_gitea_settings()
|
||||
|
||||
print(f"Merging {pr_id}...")
|
||||
if args.now:
|
||||
print(f"Merging {pr_id}...")
|
||||
else:
|
||||
print(f"Scheduling auto merge of {pr_id}...")
|
||||
|
||||
owner, repo, number = gitea_api.PullRequest.split_id(pr_id)
|
||||
gitea_api.PullRequest.merge(
|
||||
|
||||
Reference in New Issue
Block a user