GitHub Repository permissions
| Permission | Access | What Trunk uses it for |
|---|---|---|
| Administration | Read-only | Inspect branch-protection rules and rulesets |
| Metadata | Read-only | Access basic repository metadata, required for GitHub Apps |
| Contents | Read and write | Merge commits into the target branch |
| Pull requests | Read and write | Read PR state and complete merges |
| Workflows | Read and write | Merge PRs that modify files under .github/workflows/ |