Schneegans / dynamic-badges-action

This action allows you to create badges for your README.md with shields.io which may change with every commit. To do this, this action does not need to push anything to your repository!
https://schneegans.github.io/tutorials/2022/04/18/badges
MIT License
257 stars 37 forks source link

🪲 Changed ColorRange val type #12

Closed LucasWolfgang closed 2 years ago

LucasWolfgang commented 2 years ago

Using const for val causes the action to fail if it is out of bounds. It can happen in cases were these values are estimated, but not known in advance, such as max number of errors.

Schneegans commented 2 years ago

Good catch! Thank you very much!