Skip to content

Commit 933ffee

Browse files
committed
Button
1 parent 08f71c3 commit 933ffee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/repo/actions/runs_list.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
<div class="run-list-meta">{{svg "octicon-stopwatch" 16}}{{.Duration}}</div>
3838
</div>
3939
<!-- TODO: ? -->
40-
{{if .Link}}
40+
{{if and (.Link) (or (eq .Status.String "success") (eq .Status.String "skipped") (eq .Status.String "cancelled"))}}
4141
<button class="ui btn interact-bg link-action tw-p-2"
4242
data-url="{{.Link}}/delete"
4343
data-modal-confirm="{{ctx.Locale.Tr "actions.runs.delete.description"}}"

0 commit comments

Comments
 (0)