Manage repositories in a GitHub account.
This project uses a Personal Access Token. Generate one in your GitHub account by going to Settings > Developer Settings > Personal access tokens, then generating a token with at least the full 'repo' scope.
This project currently just creates or updates secrets using PyGithub.
- Ensure you have Python and Pip installed.
- Install requirements:
pip3 install -r requirements.txt
- Copy
example.config.yml
toconfig.yml
and tweak it. - Run the script:
python3 create_secret.py
. - Enjoy!
Note: Currently requires manual application of this PR to the PyGithub project. You can do this with:
pip3 install git+https://github.com/PyGithub/PyGithub.git@refs/pull/1681/merge