-
Notifications
You must be signed in to change notification settings - Fork 50
Open
Labels
enhancementNew feature or requestNew feature or request
Description
We can set up branch protection, maintainers, and other repository settings using a pull request.
Options:
- https://github.com/repository-settings/app - Pull Requests for GitHub repository settings. The advantage of this is that many projects have adopted it, and the settings are stored in the repo.
Examples:
- https://github.com/rust-cli/env_logger/blob/main/.github/settings.yml
- https://github.com/cncf/tag-runtime/blob/c6de67c5e69884d9d8087440903cc7013a93cc5e/.github/settings.yml
-
https://github.com/github/safe-settings is a fork of the above project and stores settings in a separate repo. The con is it needs more management work to set up a separate repo. The adoption is not much
-
We could start a new project for this, which uses Terraform. Terraform is very popular. One of the cons is that it requires maintaining a separate state.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request