|
@@ -69,7 +69,7 @@ |
|
|
{{- else if .IsBlockedByOutdatedBranch}}red |
|
|
{{- else if .IsBlockedByOutdatedBranch}}red |
|
|
{{- else if and .EnableStatusCheck (or .RequiredStatusCheckState.IsFailure .RequiredStatusCheckState.IsError)}}red |
|
|
{{- else if and .EnableStatusCheck (or .RequiredStatusCheckState.IsFailure .RequiredStatusCheckState.IsError)}}red |
|
|
{{- else if and .EnableStatusCheck (or (not $.LatestCommitStatus) .RequiredStatusCheckState.IsPending .RequiredStatusCheckState.IsWarning)}}yellow |
|
|
{{- else if and .EnableStatusCheck (or (not $.LatestCommitStatus) .RequiredStatusCheckState.IsPending .RequiredStatusCheckState.IsWarning)}}yellow |
|
|
{{- else if and .RequireSigned (not .WillSign)}}}red |
|
|
|
|
|
|
|
|
{{- else if and .RequireSigned (not .WillSign)}}red |
|
|
{{- else if .Issue.PullRequest.IsChecking}}yellow |
|
|
{{- else if .Issue.PullRequest.IsChecking}}yellow |
|
|
{{- else if .Issue.PullRequest.CanAutoMerge}}green |
|
|
{{- else if .Issue.PullRequest.CanAutoMerge}}green |
|
|
{{- else}}red{{end}}">{{svg "octicon-git-merge" 32}}</a> |
|
|
{{- else}}red{{end}}">{{svg "octicon-git-merge" 32}}</a> |
|
|