XenitAB / terraform-modules

Xenit Terraform modules
MIT License
33 stars 18 forks source link

Manage github repositories security settings using terraform #446

Open NissesSenap opened 3 years ago

NissesSenap commented 3 years ago

We are starting to get a number of github repositories and it have happened that we have missed setting things like branch protection for main.

To solve this I think we should start managing our github repositories using terraform.

It would be easy to add others features like managing label colors and names in all of repositories so it's the same for all of xenits repos.

https://registry.terraform.io/providers/integrations/github/latest/docs

Doing this would also require us to create a separate repository where to actually apply these settings but that is out of scope for this PR.

ahockersten commented 2 years ago

The code for this still exists, but has presumably rotted too much. I'm moving this back to the backlog for possibly someone else to pick up.