Skip to content

Commit ab72f7e

Browse files
authored
remove IsWarning in tmpl (#26120)
This problem occurs because in #25839, the warning status has been removed, but there is something in the tmpl that hasn't been changed. related #25839 close #26118
1 parent b3c71ec commit ab72f7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/repo/issue/view_content/pull.tmpl

+1-1
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 .RequiredStatusCheckState.IsWarning)}}yellow
16+
{{- else if and .EnableStatusCheck (or (not $.LatestCommitStatus) .RequiredStatusCheckState.IsPending)}}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)