mirror of https://github.com/go-gitea/gitea.git
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> |
||
---|---|---|
.. | ||
actions | ||
packages | ||
_index.en-us.md | ||
_index.zh-cn.md | ||
agit-support.en-us.md | ||
agit-support.zh-cn.md | ||
authentication.en-us.md | ||
authentication.zh-cn.md | ||
badge.en-us.md | ||
blame.en-us.md | ||
clone-filter.en-us.md | ||
clone-filter.zh-cn.md | ||
code-owners.en-us.md | ||
incoming-email.en-us.md | ||
incoming-email.zh-cn.md | ||
issue-pull-request-templates.en-us.md | ||
issue-pull-request-templates.zh-cn.md | ||
labels.en-us.md | ||
labels.zh-cn.md | ||
linked-references.en-us.md | ||
linked-references.zh-cn.md | ||
merge-message-templates.en-us.md | ||
merge-message-templates.zh-cn.md | ||
multi-factor-authentication.en-us.md | ||
permissions.en-us.md | ||
permissions.zh-cn.md | ||
profile-readme.en-us.md | ||
profile-readme.zh-cn.md | ||
protected-tags.en-us.md | ||
protected-tags.zh-cn.md | ||
pull-request.en-us.md | ||
pull-request.zh-cn.md | ||
push.en-us.md | ||
push.zh-cn.md | ||
repo-mirror.en-us.md | ||
repo-mirror.zh-cn.md | ||
secrets.en-us.md | ||
secrets.zh-cn.md | ||
template-repositories.en-us.md | ||
template-repositories.zh-cn.md | ||
webhooks.en-us.md | ||
webhooks.zh-cn.md |