pre-commit-ci / issues

public issues for https://pre-commit.ci
16 stars 3 forks source link

Badge configuration (or API)? #81

Closed peterjc closed 3 years ago

peterjc commented 3 years ago

I just discovered https://pre-commit.ci/ today while exploring caching options on CircleCI and/or GitHub actions to speed up running pre-commit run -a as part of my Continuous Integration.

This seems both much faster and much easier! Very nice! ❤️

However, I would like to tweak the badges, as by default I find them rather wide:

Could you offer variants like just the "P" logo and status?

Or, is there an API which could be used by a service like https://shields.io/ (which has the further advantage of perfectly matching badge styles)? If so I would happily open a badge request with them: https://github.com/badges/shields/issues

asottile commented 3 years ago

I'd rather maintain brand consistency, if a paid user requests an api or customized badges then I may implement it but for now I'd rather not.

peterjc commented 3 years ago

OK, that's reasonable.

And is there any kind of REST API for a project status (per branch ideally), which could be used by Shields or any 3rd party dashboard etc?