News for hackers. Stuff that matters.
Re:Show HN: One click image optimization for GitHub by mwarkentin on Tuesday December 23, 2014 @11:40AM (#8788826)
If you can find any other tools which create, not just comment on pull requests, please send them my way.. maybe there is a better way for me to do this.

I just took another look, and I am asking for too many permissions - I should really be restricting it to these: https://s3.amazonaws.com/snaps.michaelwarkentin.com/Authoriz...

Although that is probably still too much to make you comfortable.

Re:Show HN: One click image optimization for GitHub by jrochkind1 on Tuesday December 23, 2014 @01:48PM (#8789515)
I am _sure_ I've seen a pull request from a bot I had never given permissions to before, but I can't recall what it was.

But it may have actually been a screen-scraping bot -- when I google around, ironically the first thing I find is something that was doing _exactly_ what you are, and ended up getting banned by Github for being annoying. (Don't worry, by being opt-in, you won't be).

http://www.wired.com/2012/12/github-bots/

I really encourage you to contact Github with your use case, I think they'll like what you're doing, and maybe it will implant the seed to make it possible to do easily without write permissions that ought not to be neccesary. Services like this are good for github's business, as well as probably being personally gratifying to githubbers, and they've built out their API's in response to real use cases.

Re:Show HN: One click image optimization for GitHub by mwarkentin on Tuesday December 23, 2014 @11:58AM (#8788900)
It looks like I'm already restricting scope as far as possible (for now, at least): https://developer.github.com/v3/oauth/#scopes

I request user:email and repo scopes.