3 ms·
It's easy to hotlink an image into a GitHub readme, and when the build status (etc) of the project changes so does the badge, without updating the readme.
by roywiggins 3y ago
It's easy to hotlink an image into a GitHub readme, and when the build status (etc) of the project changes so does the badge, without updating the readme.
- mixmastamyk 3y agoHow does the badge site know the build status? Params set in readme urls don’t seem like they’d work for that, if they can’t change.
- roywiggins 3y agoYou rely on the service to generate the badge for you dynamically, eg https://badgers.space/github/release/tensorflow/tensorflow https://badgers.space/github/release/tensorflow/tensorflow https://badgers.space/github/checks/facebook/react https://badgers.space/github/checks/facebook/react In this case, it just looks it up at Github. shields.io can hit a bunch of different services for status: https://shields.io/category/build https://shields.io/category/build
- kroltan 3y agoThe params are something that indicate where the badge service should go to get the latest information, not the information itself. Which is why there is a value in having a badge service rather than just updating badges with a commit hook or something.