fastai / ghapi

A delightful and complete interface to GitHub's amazing API
https://ghapi.fast.ai/
Apache License 2.0
526 stars 57 forks source link

GhApi.repos.delete_repo_secret does not work #134

Open dclong opened 2 years ago

dclong commented 2 years ago

There are 2 issues here.

  1. 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.
  2. 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.