-
Notifications
You must be signed in to change notification settings - Fork 25
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
Merge - Go team can make PRs to this repo #30
Conversation
Those with `Merge - Go` should be able to propose PRs changing permissions in this repo without needing to create personal forks
Before merge, verify that all the following plans are correct. They will be applied as-is after the merge. Terraform plansipfs
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While I agree it would make for a smoother process I don't think we should broaden the permissions here that much. That's because push
access comes not only with the ability to create new branches within the repo but also, among others, with the ability to merge PRs. So with push access you can both propose and apply changes.
However, I think this idea is definitely worth exploring. I think there might be a way to restrict the set of "mergable" PRs to only those reviewed by CODEOWNERs. I created ipdxco/github-as-code#58 to explore it further but it'll require more time to investigate (more details in the linked issue).
making it so that only stewards can change permissions in a reasonable way means none of you will directly feel the pain of the extra workflow you're asking for from the rest of the org. Tighten that permission so that it becomes a pain point. otherwise this is 'it's good enough for us' and won't get fixed. |
That's a good idea but I'm afraid it could unintentionally degrade the experience for the rest of the org too since it would mean there are less people that are able to review the proposed changes. I can definitely start going through fork-based process myself from now on so that I experience how it is. |
note also thought that the lack of permission means that I can't add reviewers / labels to my PRs, so can't notify relevant people on proposed changes. |
Have PRs, but can't tag reviewers. Would make this as a PR I can tag reviewers against in this repo as requested by stewards, but can't per ipfs#30
One thing I'm exploring (with ipdx team for now) to make this part less annoying is setting up CODEOWNERS and setting up participating teams so that their members are auto-assigned to review the PRs. I know that's not as powerful as being able to ping anyone but I think it makes it at least a little bit better. |
Can all the org members have push access to
|
I wonder if there is a more complex two-repo workflow where there's a normal repo with branch protection but without CI secrets, and then a second repo that has secrets and a workflow triggered on releases or updates to the protected branch of the first and applies changes to the org? |
Cool :) I'll mark it as ready for review and add reviewers today.
That's an interesting idea! We haven't explored it in the past. Potentially, we could only have read-only creds in the first repo and read-write ones in the other one. We can try to sketch it out and think of the implications after I'm back from vacations. Whether we can implement it in the most immediate future is another question though because I'd imagine that this would require a pretty big refactor - let's evaluate this once there are more details. We're going to track this in ipdxco/github-as-code#59 |
I'm going to close this issue for now. We have ipdxco/github-as-code#59 to capture exploration work regarding splitting github management into 2 repos. Feel free to reopen if needed 🙇 |
Those with
Merge - Go
should be able to propose PRs changing permissions in this repo without needing to create personal forks