MichaelCurrin / badge-generator

Magically generate Markdown badges for your docs 🛡️ 🦡 🧙
https://michaelcurrin.github.io/badge-generator/
MIT License
391 stars 113 forks source link

Improve GH Actions badges #120

Open MichaelCurrin opened 3 years ago

MichaelCurrin commented 3 years ago

GH changes how it does badges

-[![Python CI](https://github.com/MichaelCurrin/unicron/workflows/Python%20CI/badge.svg)](https://github.com/MichaelCurrin/unicron/actions?query=workflow:"Python+CI" "GitHub Actions workflow")
+[![Python CI](https://github.com/MichaelCurrin/unicron/actions/workflows/main.yml/badge.svg)](https://github.com/MichaelCurrin/unicron/actions?query=workflow:"Python+CI" "Go to GitHub Actions workflow")

Old:

Python CI

New:

Python CI

MichaelCurrin commented 3 years ago

Note that a new input is needed - use main.yml as default

MichaelCurrin commented 3 years ago

Hmm well this still works

![](https://github.com/MichaelCurrin/badge-generator/workflows/GH%20Pages%20Deploy/badge.svg)

MichaelCurrin commented 3 years ago

But going through the UI in GH to make a badge, this is the new style

[![GH Pages Deploy](https://github.com/MichaelCurrin/badge-generator/actions/workflows/main.yml/badge.svg)](https://github.com/MichaelCurrin/badge-generator/actions/workflows/main.yml)

GH Pages Deploy