You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Feature Request: Add flag to toggle wiki collaborator restrictions in gh repo edit #13819
blockedenhancementa request to improve CLIgh-reporelating to the gh repo commandplatformProblems with the GitHub platform rather than the CLI clientstale
Currently, the gh repo edit command supports enabling or disabling wikis via --enable-wiki. However, there is no flag to toggle the wiki's restriction setting (i.e., the "Restrict editing to collaborators only" checkbox found in the repository settings).
Proposed Solution
Add a flag (for example, --restrict-wiki-editing=false or --allow-public-wiki-editing) to gh repo edit that controls whether non-collaborators can edit the wiki.
Additional Context
When automating the creation and configuration of open-source repositories, maintainers often want to allow public contributions to the wiki. Currently, this requires a manual UI intervention for every repository created.
Thank you for your issue! We have categorized it as an enhancement (feature or improvement) request, and it has been added to our backlog. In doing so, we are not committing to implementing this feature at this time, but, we will consider it for future releases based on community feedback and our own product roadmap.
Unless you see the
help wantedContributions welcome
label, we are not currently looking for external contributions for this feature.
If you come across this issue and would like to see it implemented, please add a thumbs up! This will help us prioritize the feature. Please only comment if you have additional information or viewpoints to contribute.
Thanks — I understand that the CLI cannot expose this setting until GitHub provides an API for it.
Could this remain open as a tracked cross-team dependency, or be transferred/linked to the appropriate GitHub API request, rather than ending at “no API”? The platform-side fix is straightforward in interface terms: expose a writable repository boolean for Restrict editing to collaborators only in REST or GraphQL. gh repo edit could then wire that boolean to the requested flag.
The web UI already writes this setting, so the request is specifically to make the same repository setting available to supported automation.
blockedenhancementa request to improve CLIgh-reporelating to the gh repo commandplatformProblems with the GitHub platform rather than the CLI clientstale
Activity
github-actions commentedon Jul 15, 2026
Thank you for your issue! We have categorized it as an enhancement (feature or improvement) request, and it has been added to our backlog. In doing so, we are not committing to implementing this feature at this time, but, we will consider it for future releases based on community feedback and our own product roadmap.
Unless you see the help wantedContributions welcome
label, we are not currently looking for external contributions for this feature.
If you come across this issue and would like to see it implemented, please add a thumbs up! This will help us prioritize the feature. Please only comment if you have additional information or viewpoints to contribute.
BagToad commentedon Jul 15, 2026
Thanks for the issue, this is blocked as there is no API to support the feature.
hyperpolymath commentedon Jul 19, 2026
Thanks — I understand that the CLI cannot expose this setting until GitHub provides an API for it.
Could this remain open as a tracked cross-team dependency, or be transferred/linked to the appropriate GitHub API request, rather than ending at “no API”? The platform-side fix is straightforward in interface terms: expose a writable repository boolean for Restrict editing to collaborators only in REST or GraphQL.
gh repo editcould then wire that boolean to the requested flag.The web UI already writes this setting, so the request is specifically to make the same repository setting available to supported automation.