manchicken / octocrab

A modern, extensible GitHub API Client for Rust.
Other
0 stars 0 forks source link

DELETE /repos/{owner}/{repo}/actions/secrets/{secret_name} #138

Closed manchicken closed 3 months ago

manchicken commented 9 months ago

Endpoint DELETE /repos/{owner}/{repo}/actions/secrets/{secret_name} has statuses 204: Delete a repository secret

manchicken commented 9 months ago

There appears to be a 204 case covered here, src/api/repos/secrets.rs L157.

There is a test for this module, tests/repo_secrets_test.rs, but it does not include the DELETE case which responds with 204.

We need to add the test, but I expect that it will be fine.