{% extends "base.html" %} {% block title %}{{ run.workflow_name }} #{{ run.number }} - {{ owner }}/{{ repo }} - Guts{% endblock %} {% block content %}
{{ owner }} / {{ repo }} / Actions
{% if run.conclusion.as_deref() == Some("success") %}
{% else if run.conclusion.as_deref() == Some("failure") %}
{% else if run.status == "in_progress" %}
{% else %}
{% endif %}

{{ run.workflow_name }}

Run #{{ run.number }} {% if let Some(branch) = run.head_branch.as_ref() %} on {{ branch }} {% endif %}

Commit: {{ run.head_sha|truncate(7) }}
Status: {% if run.conclusion.as_deref() == Some("success") %} success {% else if run.conclusion.as_deref() == Some("failure") %} failure {% else if run.conclusion.is_some() %} {{ run.conclusion.as_ref().unwrap() }} {% else %} {{ run.status }} {% endif %}

Jobs

{% if jobs.is_empty() %}

No jobs in this run

{% else %}
    {% for job in jobs %}
  • {% if job.conclusion.as_deref() == Some("success") %} {% else if job.conclusion.as_deref() == Some("failure") %} {% else if job.status == "in_progress" %} {% else %} {% endif %} {{ job.name }}
  • {% endfor %}
{% endif %}

Workflow Summary

Trigger Information

Event
{{ run.trigger_type }}
Actor
{{ run.actor }}
Commit
{{ run.head_sha }}
{% if let Some(branch) = run.head_branch.as_ref() %}
Branch
{{ branch }}
{% endif %}
{% if !jobs.is_empty() %}

Steps

{% for job in jobs %}
{{ job.name }}
    {% for step in job.steps %}
  • {% if step.conclusion.as_deref() == Some("success") %} {% else if step.conclusion.as_deref() == Some("failure") %} {% else %} {% endif %} {{ step.name }}
  • {% endfor %}
{% endfor %}
{% endif %}
{% endblock %}