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 1eed130 commit fbd1a0eCopy full SHA for fbd1a0e
templates/repo/actions/runs_list.tmpl
@@ -36,7 +36,7 @@
36
<div class="run-list-meta">{{svg "octicon-calendar" 16}}{{DateUtils.TimeSince .Updated}}</div>
37
<div class="run-list-meta">{{svg "octicon-stopwatch" 16}}{{.Duration}}</div>
38
</div>
39
- {{if and ($.AllowDeleteWorkflowRuns) (.Link) (or (eq .Status.String "success") (eq .Status.String "skipped") (eq .Status.String "cancelled"))}}
+ {{if and ($.AllowDeleteWorkflowRuns) (.Link) (.Status.IsDone)}}
40
<button class="ui btn interact-bg link-action tw-p-2"
41
data-url="{{.Link}}/delete"
42
data-modal-confirm="{{ctx.Locale.Tr "actions.runs.delete.description"}}"
0 commit comments