OriginalPost |
---|
This could depend on the version of GitHub you are using, but here is the API reference for what you want to do (their reference docs are pretty great!): https://docs.github.com/en/rest/repos/repos?apiVersion=2022-11-28#update-a-repository
# GitHub CLI api
# https://cli.github.com/manual/gh_api