https://badgers.space/github/release/tensorflow/tensorflow
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
Which is why there is a value in having a badge service rather than just updating badges with a commit hook or something.