Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initialize a repo with specified file(s) #87

Closed
jwsloan opened this issue Nov 21, 2018 · 4 comments
Closed

Initialize a repo with specified file(s) #87

jwsloan opened this issue Nov 21, 2018 · 4 comments

Comments

@jwsloan
Copy link

jwsloan commented Nov 21, 2018

Currently you can initialize a project with a README file. It would be handy to initialize it with one or more probot configs in the .github folder. Maybe taking whatever is in the .github repo, if it exists. They could always be deleted if unwanted.

I'm thinking of this specifically for the Settings app so that we can ensure Protected Branches is turned on as we want it with every new repo.

@Jme7
Copy link

Jme7 commented Aug 3, 2020

Well, there is a workaround. You can have a template containing those and use that as a template for your repos. That's the best I've got.

@gr2m
Copy link
Contributor

gr2m commented Aug 4, 2020

apps are looking for the .github folder in the .github repository by default, so no need to copy them over, unless you want to override them

@travi
Copy link
Member

travi commented Aug 4, 2020

based on the date of this being opened, i think that was before either template repositories were a github feature or probot-config being built directly into probot for reading config from the .github repo. i use the protected branches functionality of the settings app in my organization accounts and personal account successfully, so i would say this request has since been satisfied

@gr2m
Copy link
Contributor

gr2m commented Aug 4, 2020

good point, agree :)

@gr2m gr2m closed this as completed Aug 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants