-
Notifications
You must be signed in to change notification settings - Fork 9
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
chore: grant push_allowances to codeowners for each standard repository #95
Conversation
@sprankhub Any thoughts on this? How can we move forward to get the merge issue resolved? This is an ongoing maintenance pain point. |
/plan |
@sprankhub Starting Terraform plan https://github.com/mage-os/terraform/actions/runs/10779799728 |
Co-authored-by: Simon Sprankel <[email protected]>
@sprankhub Starting Terraform plan https://github.com/mage-os/terraform/actions/runs/10779799728 |
Terraform Plan
|
It looks like this PR changes the permissions as expected. The question now is only: Are these permissions what we want? The teams we give push allowances still shouldn't be able to push to branches directly. They should only be allowed to merge PRs. I'll try to test this when time allows. |
Based on my testing I documented in #91 (comment), I think we can merge this as it does what we want. |
For consideration: currently codeowners can't merge pull requests. My theory is this is caused by the
push_allowances
change for monorepo setups last month.If that's true, in theory this might fix it by granting
push_allowances
to any codeowners for each repository.I believe the syntax is valid, but the logic is untested, so I'm opening this as a draft. Do with it what you will.