-
Notifications
You must be signed in to change notification settings - Fork 0
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
Sets the review label on other event than a push event #4
Comments
Okay, so it seems that the reason it set the 'needs review' was because I merged a PR and that kicked of a new status event, and since it can't see the merge conflict as a context (issue #3) it relabeled the PR. |
Hey @johlju , I really appreciate that to you take the time to report those issues :)
I was about to write the same comment. |
@z0al No problem - only way to improve something is to report an issue 🙂 It seems there is also a status event update on all PR's when a push is made to any PR. 🤔 Still, this is by design. |
@z0al Reopening this issue for a discussion how this can be solved, if possible. This is in regards to that it updates statuses on all PR's on merge or push to any one PR. Our review workflow.
Now, if a push is made to another PR before step 3 happens, then Review Me will label the PR that is 'waiting for a code fix' back as 'needs review'. I would like, if possible, that not to happen. This is because all issues in ~60 repos are tracked on a Waffle board (https://waffle.io/powershell/dscresources), and by labeling an issue 'needs review' means that the issue moves to "Needs review" column, and maintainer need to take action, while it is in the "Waiting for code fix" column then no action is needed. Not sure if it is possible to solve. Maybe we need to change the review workflow. 🤔 |
I think issue #4 is resolved only once ReviewMe detects that a change was made on the specific PR. For example, if there are two PR's; PR1 and PR2 - both has a waiting label 'waiting for code fix'. |
I've pushed new changes to #5 so that ReviewMe will only run checks against the related PR |
@z0al Cool! Looking forward trying this out. Thanks for putting in the work on this! 😃 |
It seems it gets a status event when there is a label change event. Is it possible to get it to only check statuses on a pull request push event?
See PowerShell/DscResource.Tests#271. I want to label the PR 'waiting for code fix' since it has merge conflicts. But the bot add back 'needs review' without a push event.
The text was updated successfully, but these errors were encountered: