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.

GitHub Actions support

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.

Website status

There's support to check the HTTP code returned by a website with an URL of the form: /badge/status/https/osh.ocamlpro.com (only https is supported for now), preview:

the result which should obviously be 200 as it's the page you're reading. :D

As for the GitHub Actions, you can override any parameter you want.