Closed derek-corcoran-barrios closed 12 months ago
You need this endpoint to update a repo: https://docs.github.com/en/rest/repos/repos?apiVersion=2022-11-28#update-a-repository
It goes like this in gh:
gh::gh(
"PATCH /repos/:owner/:repo",
owner = "gaborcsardi",
repo = "playground",
description = "My GitHub playground"
)
I have a csv file with the desired description, tags and topics for several github repos, and I am trying to write them into my repos using the gh package in r, some are public and some private, however I have not been successful in doing so, here are some of the functions I wrote:
When I use it I like this:
I get a long JSON without the description being updated
The same happens with my other functions:
write topics
When I do:
I get
Any idea of what I am doing wrong?
I have tried all the abovementioned functions