Add API ability to toggle releases/packages/environments from homepage of repo #39800
Unanswered
vincerubinetti
asked this question in
API and Webhooks
Replies: 1 comment
-
I would also like to modify these setting using the API and didn't find how to do it. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Select Topic Area
Product Feedback
Body
The rest API allows you to set many things about a repo:
https://docs.github.com/en/rest/repos/repos#update-a-repository
Including repo homepage stuff like
homepage
anddescription
, and repo settings likehas_wiki
.But I cannot find any way to programmatically set the values of these checkboxes:
It's not a big deal, but these checkboxes are on by default, and it adds a lot of visual cruft to the homepage that is very often not needed. For example, I am creating a public website template repo, which will never need any releases/packages/environments, and I'd like to shut these things off for the user (automatically when they fork the template, using GitHub actions) so they see less stuff in the UI and are less confused/distracted (the template is made for non-technical users).
Beta Was this translation helpful? Give feedback.
All reactions