Create and enforce standard rules on GitHub repositories managed by flox.
Project description
GitHub integration for flox
flox automation for GitHub repository managmenet
Exposed variables
- github_clone_url - http checkout URL
- github_url - public URL of the repository
- github_ssh_url - checkout URL used for git+ssh protocol
- github_repository - repository object as fetched from GitHub API
github_empty
- True/False flaggit_repository
- authenticated URL which can be used for all write operations
Installation
$ flox plugin install flox-github
or
$ pip install flox-github
Configuration
$ flox config --plugin github --scope=user
ℹ Starting configuration of github for 'user' scope
→ GitHub default organization [getflox]:
→ Default branch [develop]:
→ Enable vulnerability alerts [Y/n]:
→ Enable automated security fixes [Y/n]:
ℹ 'List of protected branches' configuration is accepting multiple values, each in new line, enter empty value to end input, '-' to delete value
→ List of protected branches [master]:
→ Create repository as private [Y/n]:
→ Enable projects [Y/n]:
→ Enable issue management [Y/n]:
→ Enable wiki [Y/n]:
ℹ 'Collaborators with "pull" permission' configuration is accepting multiple values, each in new line, enter empty value to end input, '-' to delete value
ℹ 'Collaborators with "push" permission' configuration is accepting multiple values, each in new line, enter empty value to end input, '-' to delete value
ℹ 'Collaborators with "admin" permission' configuration is accepting multiple values, each in new line, enter empty value to end input, '-' to delete value
New configuration:
Key Old value New value
─────────────────────────────────────────────────────────────
Collaborators with "pull" permission {} -
Collaborators with "push" permission {} -
Collaborators with "admin" permission {} -
Save plugin settings? [y/N]: y
ℹ Configuration saved: /Users/user/.flox/settings.toml
→ GitHub Access Token [xxx]: ------
New configuration:
Key Old value New value
──────────────────────────────────────────────────────────────────────────────────────────────────────────
GitHub Access Token ----- --------
Save plugin settings? [y/N]: y
ℹ Updated 1 secrets
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
flox-github-0.2.1.tar.gz
(6.1 kB
view hashes)
Built Distribution
Close
Hashes for flox_github-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fde87106ae7396195418073ac22931dd6c8c2abbe48c4204cef1ded15470d191 |
|
MD5 | a237e94bb4c6d2f58dad89abc3b67061 |
|
BLAKE2b-256 | 031186a65ce7e22911c14483d508aa4681e23b4b2127414a261bb2e491755d17 |