Introduce Project Name in Slack notification

This commit is contained in:
Sai Ram Kunala 2020-03-14 17:48:51 +05:30 committed by GitHub
parent 50118d90c5
commit c9979cc125
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,6 +13,12 @@
"mrkdwn_in": ["fields"],
"text": "“{{ check.name_then_code|escapejs }}” is {{ check.status|upper }}.",
"fields": [
{% if check.project.name %}
{"title": "Project Name",
"value": "{{ check.project.name|escapejs }}"
},
{% endif %}
{% if check.desc %}
{"title": "Description",
"value": "{{ check.desc|escapejs }}"