mirror of https://github.com/go-gitea/gitea.git
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.
db545b208b
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> |
11 months ago | |
---|---|---|
.. | ||
artifact.go | 12 months ago | |
main_test.go | 1 year ago | |
run.go | 11 months ago | |
run_job.go | 1 year ago | |
run_job_list.go | 1 year ago | |
run_list.go | 1 year ago | |
runner.go | 12 months ago | |
runner_list.go | 2 years ago | |
runner_token.go | 1 year ago | |
runner_token_test.go | 1 year ago | |
schedule.go | 1 year ago | |
schedule_list.go | 1 year ago | |
schedule_spec.go | 1 year ago | |
schedule_spec_list.go | 1 year ago | |
status.go | 12 months ago | |
task.go | 1 year ago | |
task_list.go | 1 year ago | |
task_output.go | 1 year ago | |
task_step.go | 2 years ago | |
tasks_version.go | 2 years ago | |
utils.go | 2 years ago | |
utils_test.go | 2 years ago | |
variable.go | 1 year ago |