diff options
author | jade <lix@jade.fyi> | 2024-03-26 22:04:48 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@lix> | 2024-03-26 22:04:48 +0000 |
commit | da22dbc33397c9c6c5d115ce753d5cf11585291e (patch) | |
tree | 62d53c094330bcb05f538dfdf1010f5c14146339 | |
parent | fa3088a878171b959438bf4f5eb15adc63f76396 (diff) | |
parent | 33da9c09c8e4ec5bbbda6cf8a5b5d8f5dbf58b7a (diff) |
Merge "Issue importer: do not notify" into main
-rw-r--r-- | maintainers/issue_import.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/maintainers/issue_import.py b/maintainers/issue_import.py index be736165d..ea226b7b8 100644 --- a/maintainers/issue_import.py +++ b/maintainers/issue_import.py @@ -117,6 +117,7 @@ def new_issue(title, body, labels): 'labels': labels, 'body': body, 'title': title, + 'dont_notify': True, }) already_imported = make_already_imported() @@ -139,11 +140,6 @@ def import_issue(iss: Issue): new_issue(new_title, new_body, new_labels) def go(): - print('Have you turned off the forgejo mailer? Enter "We have" if so:') - answer = input('> ') - if answer != 'We have': - return - log.info('Importing issues!') for issue in issues_to_import(): import_issue(DataClassUnpack.instantiate(Issue, issue)) |