Skip to content

Commit

Permalink
Change the e-mail from the nf-core bot e-mail to a sinkhole address.
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthiasZepper committed May 6, 2024
1 parent 5e640b7 commit 5c3149b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion nf_core/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -1726,7 +1726,11 @@ def tidy_tags_and_branches(self):
# "Private" method to add the additional custom tags to the repository.
def __add_additional_tags(self) -> None:
if self.additional_tags:
self.ensure_git_user_config(f"nf-core download v{nf_core.__version__}", "core@nf-co.re")
# example.com is reserved by the Internet Assigned Numbers Authority (IANA) as special-use domain names for documentation purposes.
# Although "dev-null" is a syntactically-valid local-part that is equally valid for delivery,
# and only the receiving MTA can decide whether to accept it, it is to my best knowledge configured with
# a Postfix discard mail delivery agent (https://www.postfix.org/discard.8.html), so incoming mails should be sinkholed.
self.ensure_git_user_config(f"nf-core download v{nf_core.__version__}", "dev-null@example.com")

for additional_tag in self.additional_tags:
# A valid git branch or tag name can contain alphanumeric characters, underscores, hyphens, and dots.
Expand Down

0 comments on commit 5c3149b

Please sign in to comment.