Sep 22, 2021
I didn't use it, but maybe with GiHub CLI it could be done - https://cli.github.com/manual/gh_secret_set . I found also a Python library which has a very promising function - https://github.com/PyGithub/PyGithub/blob/master/github/Repository.py#L1420