I think this is still not fully solved.
single_file / single_file_paths are documented in URL-parameter docs, but there is still no clear permission/capability mapping in the main GitHub App permissions docs.
In practice, it’s unclear which REST/GraphQL write APIs are expected to work with Single file scope (for example, createCommitOnBranch can fail with Resource not accessible by integration).
Could docs add a small compatibility table for Single file scope:
- supported REST endpoints
- supported/unsupported GraphQL mutations
- recommended API path for updating exactly one file
That would make least-privilege app setup much easier.
Originally posted by @DCjanus in #27855
Originally posted by @DCjanus in #27855