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

restricting main branch to "[ ] Require pull request before merging" is being reverted #57

Closed
cgwalters opened this issue Feb 5, 2023 · 12 comments

Comments

@cgwalters
Copy link
Collaborator

I want to make reviews required by default on this project (as they should be on most).

I can make the change successfully in the web UI, but it seems like something is reverting it later. Is there some automation on the containers/ GH org that is doing something like this?

@cgwalters
Copy link
Collaborator Author

cc @baude @cevich - any ideas?

@baude
Copy link
Member

baude commented Feb 5, 2023

I am not aware of anything being set. If it is, it is likely an accident.

@cevich
Copy link
Member

cevich commented Feb 6, 2023

I too am unaware, didn't even know overriding it at the org-level was possible (is it?).

@cevich
Copy link
Member

cevich commented Feb 6, 2023

Just looked through all the org-level settings and didn't find anything that would change settings like that. Hmmm. We do have 10-something apps setup on the org., it's entirely possible one is responsible but none jump out at me. I'll take the list to the team and see which ones we can disable/remove.

@cgwalters
Copy link
Collaborator Author

Thanks Chris. Whatever is reverting it seems to be running on a roughly daily schedule. The setting lasted for hours at least last time I tried it.

@cgwalters
Copy link
Collaborator Author

Ah, the audit log makes it very obvious:

image

Will try to talk to the Prow team to see how to fix that.

@cgwalters
Copy link
Collaborator Author

Semi-blindly trying openshift/release#36102

cgwalters added a commit to cgwalters/release that referenced this issue Feb 6, 2023
We don't use lgtm or approve.  I think it's those that are
the cause of
containers/bootc#57
While we're here trim away other plugins we aren't using, like
cherrypick and needs-rebase.
@cgwalters
Copy link
Collaborator Author

@baude not urgent but openshift/release#36102 (comment) when you get a chance

openshift-merge-robot pushed a commit to openshift/release that referenced this issue Feb 7, 2023
We don't use lgtm or approve.  I think it's those that are
the cause of
containers/bootc#57
While we're here trim away other plugins we aren't using, like
cherrypick and needs-rebase.
@cgwalters
Copy link
Collaborator Author

@cevich is it the case today that all the other repositories in the containers org that have Prow jobs also use Prow to merge (i.e. with approve/lgtm + tide)?

@cevich
Copy link
Member

cevich commented Feb 15, 2024

Unfortunately no, not all 100-some odd repos, Red Hat doesn't maintain all of them. Off-hand, it's about 15-20 repos that use Prow.

@vrothberg
Copy link
Member

@cgwalters, did you resolve the issue in the meantime?

@cgwalters
Copy link
Collaborator Author

Yes, we dropped Prow for now

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

No branches or pull requests

4 participants