-
Notifications
You must be signed in to change notification settings - Fork 419
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
Remove labels for reverted changes #14
Comments
As of now, this is expected behavior. Its actually not clear to me that we would want to change this for a couple reasons:
|
Thanks for the reply @damccorm Regarding point#1, that is definitely a valid argument. Could be solved by only being able to remove labels which have been added by the same "labeler" bot and not by someone else. But I am not sure if github exposes such info (who added a certain label) 🤔 Regarding point#2, I am not sure I am with you on this one. Not having the label any more on some PR, simply means that the PR doesn't contain any changes categorised under such label (at least not anymore), which in turn, means that searching using a certain label should only result in PRs which affect codebase fulfilling such category, which is correct. If anything, then searching for such PR should be done with another query/filter. |
Yeah, I think I agree with your analysis of my second point, so I guess we're just left with the first one. The more I think about this, the more I think we want it though. I guess if you really want to do what I'm describing you can create another label Probably won't get to this immediately though, #12 feels a little more pressing to me. |
In a multi-module project the labeler might be used in the following scenario:
Since there are multiple competing use-cases here I'd like to see an option to choose the behaviour to update the labels created by the action somewhere in the pipeline definition. |
Same here, I was planning on using labeler to add a My initial config was this one: cr-no-tests:
- '!features/**/*.feature' For this scenario I clearly want my We could get this going with: |
I have opened pull request #63 which implements this issue (thanks for the pointers, @pzavolinsky). |
Reproducing:
The text was updated successfully, but these errors were encountered: