distgit-bz: notify differently in stg and in prod

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
Pierre-Yves Chibon 2020-01-09 17:28:32 +01:00
parent d5d7ed3c31
commit cfb91ec4f0

View file

@ -34,9 +34,16 @@ Reassigning to the new maintainer of this component.
send_mails = true
smtp_host = "bastion.fedoraproject.org"
from = "accounts@fedoraproject.org"
{% if env == 'staging' %}
notify_admins = [
"pingou_stg@pingoured.fr",
]
{% else %}
notify_admins = [
"pingou@fedoraproject.org",
"kevin@fedoraproject.org",
]
{% endif %}
[email.templates]
admin_notification = """