4 ms·
How 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.
by mixmastamyk 3y ago
How 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.