How to customize
Kikobeats opened this issue ยท 6 comments
The icon is decided by GitHub based on the token
that's passed.
You can register your tool as a github application and set a custom icon
Thanks!
Can you oriented to me which permissions I need to have to have the similar effect to bundlesize?
https://bundlesize-store.now.sh/auth?code=81e603b34d274c898c0e
I think we can add this kind of information into the README as well.
Maybe could be possible open source https://bundlesize-store.now.sh to make easy replicate the behavior?
Well, If you're looking for the code, it's already in the bundlesize repo
Code: https://github.com/siddharthkp/bundlesize/blob/master/store/index.js#L39-L52
If you're looking for a library/service that makes it easier to replicate it, @mxstbr made one: https://github.com/mxstbr/micro-github
Thanks for the comment!
I feel micro-github
is an easy solution, thanks for that @mxstbr
This is the OAuth App that I created
However looks like the permissions for update status need to be written as well, not only read.
any idea? First time with GitHub API, I'm a totally newbie ๐
Oh, I used the same permissions than Travis:
https://docs.travis-ci.com/user/github-oauth-scopes/
Works perfect