https://github.com/geerlingguy/github-repo-manager
Manage GitHub Actions secrets in your repositories.
https://github.com/geerlingguy/github-repo-manager
github github-actions github-api python repository-management
Last synced: 10 months ago
JSON representation
Manage GitHub Actions secrets in your repositories.
- Host: GitHub
- URL: https://github.com/geerlingguy/github-repo-manager
- Owner: geerlingguy
- License: mit
- Created: 2020-11-05T02:45:29.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-11-05T03:19:48.000Z (about 5 years ago)
- Last Synced: 2025-02-28T07:12:01.139Z (11 months ago)
- Topics: github, github-actions, github-api, python, repository-management
- Language: Python
- Homepage:
- Size: 3.91 KB
- Stars: 23
- Watchers: 4
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# GitHub Repo Manager
Manage repositories in a GitHub account.
## GitHub Authentication
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.
## Usage
This project currently just creates or updates secrets using [PyGithub](https://github.com/PyGithub/PyGithub).
1. Ensure you have Python and Pip installed.
2. Install requirements: `pip3 install -r requirements.txt`
3. Copy `example.config.yml` to `config.yml` and tweak it.
4. Run the script: `python3 create_secret.py`.
5. Enjoy!
> Note: Currently requires manual application of [this PR](https://github.com/PyGithub/PyGithub/pull/1681/files) to the PyGithub project. You can do this with:
>
> ```
> pip3 install git+https://github.com/PyGithub/PyGithub.git@refs/pull/1681/merge
> ```
## Author
[Jeff Geerling](https://www.jeffgeerling.com).