Final test. Close #813

This commit is contained in:
ccostan 2020-09-26 12:40:39 -04:00
parent 9cffc2cec4
commit e31a52ab84
1 changed files with 2 additions and 3 deletions

View File

@ -63,13 +63,12 @@ automation:
- service: script.tweet_engine_image - service: script.tweet_engine_image
data: data:
tweet: >- tweet: >-
New Code Alert!
{%- if trigger.json.pull_request -%} {%- if trigger.json.pull_request -%}
{{ trigger.json.pull_request.title }} - Pull Request #{{ trigger.json.pull_request.number}} {{ Pull Request Alert {{ trigger.json.pull_request.number}}: {{ trigger.json.pull_request.title }} - {{
trigger.json.action}} by {{trigger.json.sender.login}} trigger.json.action}} by {{trigger.json.sender.login}}
{{trigger.json.pull_request.html_url}} {{trigger.json.pull_request.html_url}}
{%- elif trigger.json.issue -%} {%- elif trigger.json.issue -%}
{{ trigger.json.issue.title }} - Issue #{{ trigger.json.issue.number}} {{ Issue Alert {{ trigger.json.issue.number}}: {{ trigger.json.issue.title }} - {{
trigger.json.action }} by {{trigger.json.sender.login}} trigger.json.action }} by {{trigger.json.sender.login}}
{{trigger.json.issue.html_url}} {{trigger.json.issue.html_url}}
{%- endif %} {%- endif %}