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

Declarative GitHub configuration tool #310

Open
zimbatm opened this issue Nov 21, 2023 · 2 comments
Open

Declarative GitHub configuration tool #310

zimbatm opened this issue Nov 21, 2023 · 2 comments

Comments

@zimbatm
Copy link
Member

zimbatm commented Nov 21, 2023

Is your feature request related to a problem? Please describe.

The GitHub permission model is not fine-grained enough. Only org owners can change settings everywhere. This means that the infra team either all get org owner and have the take over or delete the org (I'm thinking if their account gets hacked for example). Or they can't handle all of the requests that teams have.

Clicking around in the GitHub UI is also a bad thing. There are too many opportunities to mess things up by mistake. And the changes are not visible to everybody so it can take a while to know what changed.

Describe the solution you'd like

I would like us to deploy a tool that can run and apply configuration declared in a public repo.

It could be as simple as a bunch of Terraform code using the GitHub provider, and executed by GitHub Actions.

Or we deploy something like https://github.com/uwu-tools/peribolos

Describe alternatives you've considered

Giving all the admins org owner, with the caveat listed above.

Additional context

This has been a recurring issue. See for example:

@nixos-discourse
Copy link

This issue has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/policy-change-pushing-to-protected-branches-is-now-blocked/31719/23

@zimbatm
Copy link
Member Author

zimbatm commented Feb 11, 2024

POC: #360

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants