Default Codespaces token permissions for atomic GraphQL commits #214019
Replies: 2 comments
|
Not GitHub staff, just sharing what applies here:
|
|
Good set of questions. I'm a fellow community member rather than GitHub staff, so this answer is based on the official documentation. Where I couldn't find an explicit statement, I say so rather than guess. Short version
Details1. Default token and
|
Uh oh!
There was an error while loading. Please reload this page.
🏷️ Discussion Type
Question
Body
I am seeking technical clarification regarding GitHub Codespaces on a personal GitHub Free account.
Before creating a Codespace, I would appreciate clarification on the following:
Does the default Codespaces GITHUB_TOKEN support the GraphQL createCommitOnBranch mutation?
Can this mutation atomically add multiple files, including a new .github/workflows/ YAML file, while enforcing expectedHeadOid?
Does the default token include workflows:write permission for the source repository without requiring a committed devcontainer configuration?
Can this operation be performed without a personal access token, additional repository permissions or force?
Is the automatic commit signature generated entirely by GitHub without personal signing keys or public transparency-log disclosure?
Does a zero-dollar Codespaces budget with usage blocking enabled permit consumption of the included monthly free allowance?
I would particularly appreciate clarification from GitHub staff, Codespaces maintainers or developers with relevant technical experience, supported by official documentation where available.
Thank you.
All reactions