Skip to content

Commit 241fe42

Browse files
committed
Revert "remove IsWarning in tmpl (go-gitea#26120)"
This reverts commit ab72f7e.
1 parent 0a51f38 commit 241fe42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/repo/issue/view_content/pull.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
{{- else if .IsBlockedByOutdatedBranch}}red
1414
{{- else if .IsBlockedByChangedProtectedFiles}}red
1515
{{- else if and .EnableStatusCheck (or .RequiredStatusCheckState.IsFailure .RequiredStatusCheckState.IsError)}}red
16-
{{- else if and .EnableStatusCheck (or (not $.LatestCommitStatus) .RequiredStatusCheckState.IsPending)}}yellow
16+
{{- else if and .EnableStatusCheck (or (not $.LatestCommitStatus) .RequiredStatusCheckState.IsPending .RequiredStatusCheckState.IsWarning)}}yellow
1717
{{- else if and .AllowMerge .RequireSigned (not .WillSign)}}red
1818
{{- else if .Issue.PullRequest.IsChecking}}yellow
1919
{{- else if .Issue.PullRequest.IsEmpty}}grey

0 commit comments

Comments
 (0)