According to https://developer.github.com/apps/building-oauth-apps/scopes-for-oauth-apps, there doesn't appear to be a read-only scope for repository code.