Merge pull request #342 from sairam/patch-1

Introduce Project Name in Slack notification
This commit is contained in:
Pēteris Caune 2020-03-23 12:13:58 +02:00 committed by GitHub
commit 1baa8ad46d
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",
"value": "{{ check.project.name|escapejs }}"
},
{% endif %}
{% if check.desc %}
{"title": "Description",
"value": "{{ check.desc|escapejs }}"