{% extends "projects/base.html" %} {% import "site_shell/_macros.html" as ui %} {% block title %}Watches - {{ project.name }} - Pychestrate{% endblock %} {% block content %}
Repository and build event triggers
| Name | Source | Starts when | Condition | Actions | Enabled | Last Triggered | |
|---|---|---|---|---|---|---|---|
| {{ watch.name }} | {{ watch.source_name }} | {{ trigger_labels.get(watch.trigger_source.value, watch.trigger_source.value) }} | {% if watch.conditions.tag_pattern %}tag matches {{ watch.conditions.tag_pattern }}{% elif watch.conditions.branch_pattern %}branch matches {{ watch.conditions.branch_pattern }}{% else %}none{% endif %}{% if watch.conditions.build_status in ('succeeded', 'failed') %}, build {{ watch.conditions.build_status }}{% endif %} |
{% for action in watch.actions %} {{ action_labels.get(action.action.value, action.action.value) }} {% else %} None configured {% endfor %} | {% if watch.enabled %} Enabled {% else %} Disabled {% endif %} | {{ watch.last_trigger_time | format_datetime('%Y-%m-%d %H:%M', 'Never') }} | View {% if can_manage %} Edit {% endif %} |
| No watches yet. {% if can_manage %} Create your first watch {% else %} Watches are event triggers set up by project developers. {% endif %} | |||||||