You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 13, 2023. It is now read-only.
inquirer.Text('title', message='Write an issue title', validate=_not_empty_validation),
46
48
inquirer.Text('body', message='Write an issue body [optional]'),
47
49
inquirer.Text('labels', message='Write issue labels separated by comma [optional]'),
48
-
inquirer.Confirm('correct', message='Confirm creation of issue for the project(s) {}. Continue?'.format(self.selected_github_repos), default=False),
50
+
inquirer.Confirm('correct', message='Confirm creation of issue for the project(s) {}. Continue?'.format(self.configs.github_selected_repos), default=False),
inquirer.Confirm('draft', message='Do you want to create a draft pull request?', default=False),
72
74
inquirer.Confirm('confirmation', message='Do you want to link pull request to issues by title?', default=False),
73
75
inquirer.Text('link', message='Write issue title (or part of it)', validate=_not_empty_validation, ignore=_ignore_if_not_confirmed),
74
-
inquirer.Confirm('correct', message='Confirm creation of pull request(s) for the project(s) {}. Continue?'.format(self.selected_github_repos), default=False)
76
+
inquirer.Confirm('correct', message='Confirm creation of pull request(s) for the project(s) {}. Continue?'.format(self.configs.github_selected_repos), default=False)
inquirer.Text('base', message='Write base branch name (destination)', default="master", validate=_not_empty_validation),
108
110
inquirer.Text('head', message='Write the head branch name (source)', validate=_not_empty_validation),
109
111
inquirer.Text('prefix', message='Write base user or organization name from PR head', default=self.github_username, validate=_not_empty_validation),
110
-
inquirer.Confirm('correct', message='Confirm merging of pull request(s) for the project(s) {}. Continue?'.format(self.selected_github_repos), default=False)
112
+
inquirer.Confirm('correct', message='Confirm merging of pull request(s) for the project(s) {}. Continue?'.format(self.configs.github_selected_repos), default=False)
111
113
]
112
114
answers=inquirer.prompt(questions)
113
115
# Important note: base and head arguments have different import formats.
print("{}: no open PR found for {}:{}.".format(github_repo, answers['base'], answers['head']))
134
136
135
-
defbranch_delete(self):
137
+
defdelete_branches(self):
136
138
questions= [
137
139
inquirer.Text('branch', message='Write the branch name', validate=_not_empty_validation),
138
-
inquirer.Confirm('correct', message='Confirm deleting of branch(es) for the project(s) {}. Continue?'.format(self.selected_github_repos), default=False)
140
+
inquirer.Confirm('correct', message='Confirm deleting of branch(es) for the project(s) {}. Continue?'.format(self.configs.github_selected_repos), default=False)
0 commit comments