-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnormal_checks.html
More file actions
81 lines (76 loc) · 3.16 KB
/
normal_checks.html
File metadata and controls
81 lines (76 loc) · 3.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
---
layout: default
title: Normal Checks
description: Which version of Normal Checks is each repository using?
---
{% assign org_href = "https://github.com/eustasy" %}
<script defer src="sortable.mega-advanced.min.js"></script>
<p><small>
<span class="status good">main: Software</span>
<span class="status static">gh-pages: Static Site</span>
<span class="status dynamic">cf-pages: Dynamic Site</span>
</small></p>
<table class="releases sortable">
<thead>
<th>Repository</th>
<th>Default Branch</th>
<th>Version</th>
<th>Status</th>
</thead>
<tbody>
{% for repo in site.data.normal_checks %}
{% unless site.data.exclusions contains repo.name %}
{% assign repo_href = org_href | append: "/" | append: repo.name %}
<tr id="{{ repo.name }}" >
<td data-sort="{{ repo.name }}">
<a href="{{ repo_href }}" class="name">{{ repo.name }}</a>
</td>
<td data-sort="{{ repo.default_branch }}">
{% if repo.default_branch == "main" %}
<span class="status good">{{ repo.default_branch }}</span>
{% elsif repo.default_branch == "gh-pages" %}
<span class="status static">{{ repo.default_branch }}</span>
{% elsif repo.default_branch == "cf-pages" %}
<span class="status dynamic">{{ repo.default_branch }}</span>
{% else %}
<span class="status critical">{{ repo.default_branch }}</span>
{% endif %}
</td>
<td data-sort="{{ repo.normal_checks }}">
{% if repo.normal_checks == "3.0.1" %}
<span class="status good">Up to date</span>
{% elsif repo.normal_checks == "3.0" %}
<span class="status warn">{{ repo.normal_checks }}</span>
{% elsif repo.normal_checks == "2.0" %}
<span class="status warn">{{ repo.normal_checks }}</span>
{% elsif repo.normal_checks == "1.10.1" %}
<span class="status warn">{{ repo.normal_checks }}</span>
{% elsif repo.normal_checks == "1.10.0" %}
<span class="status warn">{{ repo.normal_checks }}</span>
{% elsif repo.normal_checks == "1.9" %}
<span class="status warn">{{ repo.normal_checks }}</span>
{% elsif repo.normal_checks == "1.7" %}
<span class="status critical">{{ repo.normal_checks }}</span>
{% elsif repo.normal_checks == "1.4" %}
<span class="status critical">{{ repo.normal_checks }}</span>
{% else %}
<span class="status">{{ repo.normal_checks }}</span>
{% endif %}
</td>
<td>
{% if repo.normal_checks != false %}
<a href="https://github.com/eustasy/{{ repo.name }}/actions/workflows/normal.yml"><img src="https://github.com/eustasy/{{ repo.name }}/actions/workflows/normal.yml/badge.svg"></a>
{% endif %}
</td>
</tr>
{% endunless %}
{% endfor %}
</tbody>
</table>
{% assign st = site.time %}
<p><small>Last updated <time datetime="{{ st }}" title="{{ st }}">
{% assign d = st | date: "%-d" %}
{{ st | date: "%B" }}
{% case d %}{% when '1' or '21' or '31' %}{{ d }}st{% when '2' or '22' %}{{ d }}nd{% when '3' or '23' %}{{ d }}rd{% else %}{{ d }}th{% endcase %},
{{ st | date: "%Y at %r %Z" }}
</time>.</small></p>