-
-
Notifications
You must be signed in to change notification settings - Fork 92
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
auto addon reviewers - cond. not recognise team #876
Comments
it's should be just |
You don't need to filter out
We use the same here https://github.com/Mergifyio/mergify-engine/blob/master/.mergify.yml#L60-L67 |
@sileht for the fast reply, do I have to write it as it was in examples |
When the option is only teams related all syntax works (with or without @, with the organization or not). |
I am wondering about triggering the rules... We have added the rule as discussed above... |
This seems to be because of the request review action reporting itself as a success to the engine, and therefore is only run once — and never again. |
sounds like what I need, but don't know where to write it, to config condition? |
No, that's currently a config option in the actions we run in the engine. Nothing to do from your side for now. |
well thinking if turning it on won't have a negative effect on the merging and conflict check... |
At the beginning, we put But we add a some protection against that recently, we can retry it. |
so what about alow it as part of config? |
This makes sure the review are always requested until the conditions are not matched anymore. Closes #876
not sure if it is the fix, I would prefer to have it as an option in config... |
We'd prefer to keep the number of options as low as possible to keep things simple. What is wrong with the current fix? |
Not sure how the always run behaves, is it described somewhere? |
Not really, this is internal stuff. It just defines how an action behaves internally compared to the state of the pull request. In that case, it means that the engine will try to re-apply the review request on each opportunity to make sure the state remains the same all along the life of the PR — as long as it matches the rule. Some actions, e.g. |
Hello @jd, I am suspicious if the request really works, we have re-enabled merify in our repo after some time, and seems that this reviewer assignment did nothing... When I open it in your editors and debug conditions on sample PR all condition are checked, but still no team request...
|
ok, it seems to work now, not sure what was wrong before... @jd thank you :] |
We are facing an issue hot to recognise a team in
review-requested!=core-contributors
Our situation is that have a rule that PR can be merged after 3 approvals, to do so we assign the review to a group
core-contributors
but Github allows to have the ethe group just once and we a member of this group does review it adds his approval and removes a team from request... So we want to make a simple rule if the number of approvals is lower then required and the team is not among requested, add the ream...I have drafted this but it does not recognise the lean in condition
The text was updated successfully, but these errors were encountered: