You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a user selects to create a Github repository it could be beneficial to have the option to give an initial configuration to the repo. Like needing a review on every pull request to merge.
The text was updated successfully, but these errors were encountered:
@yuval-linker I agree, this would be a nice addition. I'm not sure if the gem we use to generate repos in GitHub allows this kind of configuration, but it would be nice to enforce the reviewers thingy alongside the automatic deletion of stale branches. We could have a "standard config" for our recommended way to handle repositories.
I think enforcing reviewers is not possible with octokit, but deleting branches on merge is. It is undocumented in the gem, but available in the API, I don't think it is a risk because it is an option and options are passed directly to the post request to the api, so we would use it like this:
I think it would be a good addition specially for Platanus. I wouldn't add the configurations as a user option, but rather enforce some basic options we currently use. In my opinion there are enough questions already while creating a new project and adding Github repo options seems a bit excessive, adding a few options that are not too specific sounds like a good idea.
When a user selects to create a Github repository it could be beneficial to have the option to give an initial configuration to the repo. Like needing a review on every pull request to merge.
The text was updated successfully, but these errors were encountered: