badge-generator icon indicating copy to clipboard operation
badge-generator copied to clipboard

Improve GH Actions badges

Open MichaelCurrin opened this issue 4 years ago • 3 comments

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 avatar Sep 09 '21 12:09 MichaelCurrin

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

MichaelCurrin avatar Sep 09 '21 12:09 MichaelCurrin

Hmm well this still works

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

MichaelCurrin avatar Sep 09 '21 12:09 MichaelCurrin

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

MichaelCurrin avatar Sep 09 '21 12:09 MichaelCurrin