Free software version of static scanner widely known/used:
Note: free version can be downloaded locally
Or we can be integrated it into github and/or gitlab side as well but a request need to be filled:
Coverity is static code scanner which can be integrated in github:
Note: the integration free of cost, but the software is proprietary (but since its only added on github side i think its safe?)
https://scan.coverity.com/
Inspiration:
https://scan.coverity.com/projects/i2p