dwyl / hits

:chart_with_upwards_trend: General purpose hits (page views) counter
http://hits.dwyl.com
GNU General Public License v2.0
432 stars 63 forks source link

Broken Build Badge #206

Open nelsonic opened 1 year ago

nelsonic commented 1 year ago

Shields updated how they handle GitHub CI Badges. So now the README.md badge is:

image

Old (current) markdown:

[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/dwyl/hits/Elixir%20CI?label=build&style=flat-square)](https://github.com/dwyl/hits/actions/workflows/ci.yml)

GitHub Workflow Status

Detail: https://github.com/badges/shields/issues/8671

Needs to follow the format:

https://img.shields.io/github/actions/workflow/status/<user>/<repo>/test.yml?branch=main

So the badge should be:

![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/dwyl/hits/ci.yml?label=build&style=flat-square&branch=main)

GitHub Workflow Status

This should be a quick fix. Opening PR now. 👨‍💻

nelsonic commented 1 year ago

Including this in #204 :shipit:

nelsonic commented 1 year ago

The up-shot is that we can now see the status of the build:

image

"build in progress" ...