You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/docs/content/usage
Nanguan Lin db545b208b
Implement actions badge svgs (#28102)
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:

![1](https://github.com/go-gitea/gitea/assets/70063547/5465cbaf-23cd-4437-9848-2738c3cb8985)

![2](https://github.com/go-gitea/gitea/assets/70063547/ec393d26-c6e6-4d38-b72c-51f2494c5e71)

![3](https://github.com/go-gitea/gitea/assets/70063547/3edb4fdf-1b08-4a02-ab2a-6bdd7f532fb2)

![4](https://github.com/go-gitea/gitea/assets/70063547/8c189de2-2169-4251-b115-0e39a52f3df8)

![5](https://github.com/go-gitea/gitea/assets/70063547/3fe22c73-c2d7-4fec-9ea4-c501a1e4e3bd)

---------

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: Giteabot <teabot@gitea.io>
Co-authored-by: delvh <dev.lh@web.de>
12 months ago
..
actions Update docs about `DEFAULT_ACTIONS_URL` (#29442) 12 months ago
packages Docker Tag Information in Docs (#29047) 12 months ago
_index.en-us.md
_index.zh-cn.md
agit-support.en-us.md Update agit-support.en-us.md (#27652) 1 year ago
agit-support.zh-cn.md Change the default branch in the agit docs (#27621) 1 year ago
authentication.en-us.md Revert "Support SAML authentication (#25165)" (#29358) 12 months ago
authentication.zh-cn.md Fix some incorrect links in docs (#28191) 1 year ago
badge.en-us.md Implement actions badge svgs (#28102) 12 months ago
blame.en-us.md Support `.git-blame-ignore-revs` file (#26395) 1 year ago
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 Explained where create issue/PR template (#29035) (#29266) 12 months ago
issue-pull-request-templates.zh-cn.md
labels.en-us.md
labels.zh-cn.md Update documents to fix some links (#26885) 1 year ago
linked-references.en-us.md Update documents to fix some links (#26885) 1 year ago
linked-references.zh-cn.md Fix incorrect Chinese translation of linked-references.zh-cn.md (#27382) 1 year ago
merge-message-templates.en-us.md
merge-message-templates.zh-cn.md
multi-factor-authentication.en-us.md Update documents to fix some links (#26885) 1 year ago
permissions.en-us.md
permissions.zh-cn.md Update zh-cn documentation (#26406) 2 years ago
profile-readme.en-us.md Fix doc img path in profile readme (#28994) 1 year ago
profile-readme.zh-cn.md Update some translations and fix markdown formatting (#29099) 1 year ago
protected-tags.en-us.md
protected-tags.zh-cn.md
pull-request.en-us.md Update documents to fix some links (#26885) 1 year ago
pull-request.zh-cn.md Update documents to fix some links (#26885) 1 year ago
push.en-us.md
push.zh-cn.md
repo-mirror.en-us.md Update repo-mirror.en-us.md (#28612) 1 year ago
repo-mirror.zh-cn.md Update zh-cn documentation (#26406) 2 years ago
secrets.en-us.md
secrets.zh-cn.md
template-repositories.en-us.md Rephrase template documentation to be more clear about .gitea/template (#27450) 1 year ago
template-repositories.zh-cn.md Update zh-cn documentation (#26406) 2 years ago
webhooks.en-us.md
webhooks.zh-cn.md