We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08f71c3 commit 933ffeeCopy full SHA for 933ffee
templates/repo/actions/runs_list.tmpl
@@ -37,7 +37,7 @@
37
<div class="run-list-meta">{{svg "octicon-stopwatch" 16}}{{.Duration}}</div>
38
</div>
39
<!-- TODO: ? -->
40
- {{if .Link}}
+ {{if and (.Link) (or (eq .Status.String "success") (eq .Status.String "skipped") (eq .Status.String "cancelled"))}}
41
<button class="ui btn interact-bg link-action tw-p-2"
42
data-url="{{.Link}}/delete"
43
data-modal-confirm="{{ctx.Locale.Tr "actions.runs.delete.description"}}"
0 commit comments