npms-io / npms-analyzer

The analyzer behind https://npms.io
MIT License
314 stars 37 forks source link

GitHub actions should feed into statuses to affect quality score #271

Open domdomegg opened 1 year ago

domdomegg commented 1 year ago

Currently, there is a status evaluation here which uses the data collected from the GitHub statuses API here. However, GitHub actions, a popular tool used for CI on GitHub repositories does not update these commit statuses so they do not count. This artifically deflates the quality score, as I believe the logic here is 'does the repo use some sensible CI solution'.

We could fix this logic by querying another GitHub endpoint e.g. https://api.github.com/repos/definitelytyped/definitelytyped/actions/runs?branch=master