{% set mine_users = (state.usernames | default({})).values() | list %} {% if mrs %} {% set mine_count = [] %} {% set approved_count = [] %} {% for m in mrs %} {% set _involved = m.author in mine_users or (m.assignees | default([]) | select("in", mine_users) | list | length > 0) or (m.reviewers | default([]) | select("in", mine_users) | list | length > 0) %} {% if _involved %}{% if mine_count.append(1) %}{% endif %}{% endif %} {% if m.approved %}{% if approved_count.append(1) %}{% endif %}{% endif %} {% endfor %}
| Repo | Title | Author | Branches | Status | Info |
|---|---|---|---|---|---|
{{ m.repo_name }} |
{{ m.title }} !{{ m.iid }} | {{ m.author }} |
{{ m.source_branch }}
→
{{ m.target_branch }}
|
{% if m.approved %}approved{% else %}{{ m.state }}{% endif %} | {% if m.user_notes_count %} {{ m.user_notes_count }} {% endif %} |
No open merge requests.
{% endif %}