Build {{ event_data.build_id[:7] }} {% block eventkind %}{% endblock %} for
{% if event_data.trigger_id %}
change
{% if event_data.trigger_metadata %}
{% if event_data.trigger_metadata.commit_info %}
{{ event_data.trigger_metadata.commit[:7] }}
to
{% if event_data.trigger_metadata.ref.split('/')[1] == 'tags' %}
tag
{% else %}
branch
{% endif %}
{{ event_data.trigger_metadata.ref.split('/')[2] }}
{% if event_data.trigger_metadata.commit_info.author %}
by
{% if event_data.trigger_metadata.commit_info.author.avatar_url %}
{% endif %}{{ event_data.trigger_metadata.commit_info.author.username }}
{% endif %}
{% else %}
{{ event_data.trigger_metadata.commit[:7] }}
{% endif %}
{% else %}
to {{ event_data.trigger_kind }} repository
{% endif %}
{% else %}
uploaded Dockerfile
{% endif %}
for repository {{ event_data.repository | repository_reference }}
{% if event_data.error_message %}
{{ event_data.error_message }}
{% endif %}