github-api icon indicating copy to clipboard operation
github-api copied to clipboard

Can't find API for managing Secrets

Open yolch-yolchyan opened this issue 4 years ago • 3 comments

I was wondering if there is an API to manage GitHub repo secrets? /repos/{owner}/{repo}/actions/secrets/{secret_name}

If we have developed one, could you please point me out how to use it?

yolch-yolchyan avatar Nov 10 '21 15:11 yolch-yolchyan

Documentation for Secrets REST API: https://docs.github.com/en/rest/reference/actions#secrets

This has not been implemented yet.

This seems like a rather large endpoint. It is too big to implement the whole thing as your first PR. I would suggest creating a class with just read or maybe basic CRUD to start with.

bitwiseman avatar Nov 10 '21 21:11 bitwiseman

@bitwiseman Hi, bitwiseman! I am more than happy to start working on supporting this API endpoint! I will start by working on CRUD for repository secret and will submit a PR once it has been throughoutly tested and ready to be reviewed.

SCHJonathan avatar Dec 05 '21 01:12 SCHJonathan

@SCHJonathan Feel free to submit a PR as draft for early feedback if you have any questions.

bitwiseman avatar Dec 07 '21 09:12 bitwiseman