Hacker News new | comments | ask | show | jobs | submit login

I would love to see auth token that provide read-only access to select repositories. I find SSH keys much harder to use in a Docker-based deployment.

Couldn't you create a new user, give it access to those chosen repositories, and then use the API to access them with read-only permissions?

If I'm not mistaken you can't grant an application read-only access to a repository? GitHub really isn't very granular in their permissions...

Not sure the best route, but the ugly route I know of is place the user in a group wich just have read-only. I am really shocked GH doesn't actually make role-based more granular. I have to add a group to a repository, and can't have the option now to add user to a repository....

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact