AnswerDotAI / AnswerDotAI/ghapi

GhApi.repos.delete_repo_secret does not work

Aperta
#134 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
686
Fork
69
Merge medio
1m
PR unite (30g)
2

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Start by comparing GhApi.repos.delete_repo_secret and delete_repos_secret with the API documentation and the help output, then reproduce the two- and three-parameter calls. Use the working gh CLI behavior as a reference; done means the function signature is consistent with its documentation and the repository secret deletion call works.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
github, openapi, python
Ambito
api, tooling
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.