Repository navigation
CLI Pull Request Disallow Maintainer Edits
github-actions[bot] edited this page Aug 21, 2026
·
1 revision
Stops maintainers from editing the head branch of a pull request from a fork.
quinjet pr disallow-maintainer-edits <number> [--repo <owner/name>] [--refresh] [--yes]The confirmed form calls GitHub's updatePullRequest GraphQL mutation with
maintainerCanModify: false and the exact pull request node identity. GitHub
enforces that the current viewer owns the forked head branch.
Generated from docs/, edit the docs in the repo, not the wiki.
CLI reference
Pull Request
- View
- Commits
- Files
- Diff
- Conversation
- Checks
- Logs
- Open
- Merge
- Admin Merge
- Auto Merge
- Disable Auto Merge
- Dequeue
- Ready
- Draft
- Review
- Reviews
- Comment
- Edit Last Comment
- Delete Last Comment
- Edit
- Update Branch
- Lock
- Unlock
- Subscribe
- Unsubscribe
- Allow Maintainer Edits
- Disallow Maintainer Edits
- Revert
- Close
- Reopen
Guides
Optimization
Rust practices