Osh


Generate Shields with OCaml


You can generate a badge with an URL of the form: /badge?label=build&color=green&style=classic&label_color=black&status=passing&scale=2.0.

Preview: the result.

We also support fetching GitHub actions status with an URL of the form: /badge/github/workflow/status/OCamlPro/swhid/build.yml, note that you have to provide the full filename (or the identifier) of your workflow because the GitHub API is not that great...

Preview: the result.

Even when using this, you can override any parameter, here's the same URL but with a ?color=blue added: the result.