mirror of
https://github.com/go-gitea/gitea.git
synced 2025-12-16 22:15:43 +08:00
replace #27187 close #23688 The badge has two parts: label(workflow name) and message(action status). 5 colors are provided with 7 statuses. Color mapping: ```go var statusColorMap = map[actions_model.Status]string{ actions_model.StatusSuccess: "#4c1", // Green actions_model.StatusSkipped: "#dfb317", // Yellow actions_model.StatusUnknown: "#97ca00", // Light Green actions_model.StatusFailure: "#e05d44", // Red actions_model.StatusCancelled: "#fe7d37", // Orange actions_model.StatusWaiting: "#dfb317", // Yellow actions_model.StatusRunning: "#dfb317", // Yellow actions_model.StatusBlocked: "#dfb317", // Yellow } ``` preview:      --------- Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: Giteabot <teabot@gitea.io> Co-authored-by: delvh <dev.lh@web.de> |
||
|---|---|---|
| .. | ||
| administration | ||
| contributing | ||
| development | ||
| help | ||
| installation | ||
| usage | ||
| actions.en-us.md | ||
| administration.en-us.md | ||
| administration.zh-cn.md | ||
| contributing.en-us.md | ||
| development.en-us.md | ||
| development.zh-cn.md | ||
| help.en-us.md | ||
| help.zh-cn.md | ||
| index.en-us.md | ||
| index.zh-cn.md | ||
| installation.en-us.md | ||
| installation.zh-cn.md | ||
| packages.en-us.md | ||
| search.en-us.md | ||
| search.nl-nl.md | ||
| search.pt-br.md | ||
| search.zh-cn.md | ||
| usage.en-us.md | ||
| usage.zh-cn.md | ||