siddharthkp/github-build

How to customize

Kikobeats opened this issue ยท 6 comments

screen shot 2018-05-22 at 12 47 27

I created an integration using this awesome project ๐Ÿ™‚

Looks like the icon is recovering from the commit? or actually based on the repository author?

Could can we add custom icon support?

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

screen shot 2018-05-22 at 22 42 31

However looks like the permissions for update status need to be written as well, not only read.

screen shot 2018-05-22 at 22 47 32

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 ๐Ÿ™‚