MCPcopy
hub / github.com/wavetermdev/waveterm / getStatusIcon

Function getStatusIcon

tsunami/demo/githubaction/app.go:116–136  ·  view source on GitHub ↗
(status, conclusion string)

Source from the content-addressed store, hash-verified

114}
115
116func getStatusIcon(status, conclusion string) string {
117 switch status {
118 case "in_progress", "queued", "pending":
119 return "🔄"
120 case "completed":
121 switch conclusion {
122 case "success":
123 return "✅"
124 case "failure":
125 return "❌"
126 case "cancelled":
127 return "🚫"
128 case "skipped":
129 return "⏭️"
130 default:
131 return "❓"
132 }
133 default:
134 return "❓"
135 }
136}
137
138func getStatusColor(status, conclusion string) string {
139 switch status {

Callers 1

app.goFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected