remove "RM-Approved" and "reviewed" labels when a PR is synchronized - #8
remove "RM-Approved" and "reviewed" labels when a PR is synchronized#8ggouaillardet wants to merge 1 commit into
Conversation
|
Nifty! I'm going to ask the OMPI dev community if they want this. I think it sounds like a good idea, but let's make sure they want it. We might actually want to modify the workflows a little:
I'll ask the community. |
|
Ok, per community discussion, let's have this PR do the following:
Cool? |
|
@jsquyres is there an indentation issue ? i read "When new commits are pushed to a PR, If either of those labels were removed, add the pushed-back label" if a new commit is pushed to a PR, this means an other review is required, so why put the pushed-back label ? also, when setting the pushed-back label, should the assignee be updated automatically ? |
|
The intent for the "pushed-back" label is just a visual indicator to the submitter / reviewer that the PR has been pushed back to them (i.e., away from the RM). So when they add a commit (for example), the PR gets pushed back to them for additional review. It's just a positive signal, vs. a negative signal of the "reviewed" label disappearing. For assignee: mmm. Good point; I hadn't thought about automatically assigning the user assignment. ...I thought about this for a few minutes, and my conclusion is: I don't know. :-) I therefore think we probably shouldn't do it. Meaning: let's let this system loose on the community for a while and let's see how people use it. If there are common actions that people are doing (e.g., adding/removing pushed-back, assigning/unassigning owners), they we can slurp that into the bot. Make sense? |
since it is possible to push new commits into a PR even after it has been reviewed and/or RM-Approved,
remove these labels each time a PR is synchronized (aka commits have changed)
assign: @jsquyres
label:enhancement