-
Notifications
You must be signed in to change notification settings - Fork 7.8k
Closed
Labels
enhancementa request to improve CLIa request to improve CLIgh-reporelating to the gh repo commandrelating to the gh repo commandhelp wantedContributions welcomeContributions welcome
Description
Describe the feature or problem you’d like to solve
gh repo edit allows setting most properties of octokit.rest.repos.update. But, it doesn't seem to have an option for security_and_analysis properties that I can find.
From the docs and the OpenAPI types, that's:
advanced_securitysecret_scanningsecret_scanning_push_protection
Proposed solution
Could we be able to set those properties in gh repo edit too, please? I.e.:
gh repo edit --enable-advanced-security true --enable-secret-scanning true --enable-secret-scanning-push-protection trueAdditional context
Is there precedent for what does or doesn't get implemented in gh repo edit? And if so, is that influenced at all by which settings are within nested objects like security_and_analysis?
Sibling issue to: #10092
Metadata
Metadata
Assignees
Labels
enhancementa request to improve CLIa request to improve CLIgh-reporelating to the gh repo commandrelating to the gh repo commandhelp wantedContributions welcomeContributions welcome