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

Cant we create a new repo with this module?? #51

Open
vikramalmosafer opened this issue Sep 11, 2024 · 3 comments
Open

Cant we create a new repo with this module?? #51

vikramalmosafer opened this issue Sep 11, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@vikramalmosafer
Copy link

do we also able to create repositories if not exist with this module?

@mxmehl
Copy link
Member

mxmehl commented Sep 12, 2024

No, that is currently not possible. I'm not even sure it's wanted as at least for our use-case, we also move repos from other orgs to this GitHub org. If we accidentally ran the tool with team permissions to a currently non-existing repo, it may block migrations.

With the current behaviour, we would probably just get an error on the tool's side, but it wouldn't do anything it shouldn't do.

However, please feel free to explain your use-case, or contribute a PR.

@vikramalmosafer
Copy link
Author

i was planning to use this tool for managing multiple team and their respective repos which also include repo permission management and creation if not exists.

@mxmehl
Copy link
Member

mxmehl commented Sep 13, 2024

OK, it might make sense, perhaps we could make this configurable.

I won't get to do this before my parental leave, so not before the end of the year. If you would like to submit a PR, I'd be happy to review.

@mxmehl mxmehl added the enhancement New feature or request label Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants