The signature of the function delete_repos_secret is confusing. The API doc says that it takes 3 parameters owner, repo and secret_name while the help function says that it takes 2 parameters repo and secret_name.
I tried to call delete_repos_secret with both 2 and 3 parameters but neither of them work. BTW, the GitHub cli tool gh works well on this.
There are 2 issues here.
delete_repos_secret
is confusing. The API doc says that it takes 3 parametersowner
,repo
andsecret_name
while thehelp
function says that it takes 2 parametersrepo
andsecret_name
.delete_repos_secret
with both 2 and 3 parameters but neither of them work. BTW, the GitHub cli toolgh
works well on this.