-
Notifications
You must be signed in to change notification settings - Fork 90
Add config options to change labels for draft/closed/reopened PRs #1768
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
base: master
Are you sure you want to change the base?
Conversation
This actually makes me think that using Something like [[autolabel]]
new_pr = true
add = ["S-waiting-on-review"]
[[autolabel]]
review-submitted = true
reviewed_label = "S-waiting-on-author"
review_labels = ["S-waiting-on-review"]
[[autolabel]]
review-requested = true
remove_labels = ["S-waiting-on-author"]
add_labels = ["S-waiting-on-review"] Instead of [autolabel."S-waiting-on-review"]
new_pr = true
[review-submitted]
reviewed_label = "S-waiting-on-author"
review_labels = ["S-waiting-on-review"]
[review-requested]
remove_labels = ["S-waiting-on-author"]
add_labels = ["S-waiting-on-review"] The advantages are:
Example of the last point: [[autolabel]]
# Positive filters require any positive filter to fire, i.e. this is triggered on either event
review-requested = true
ready-for-review = true
add = ["S-waiting-on-review"]
remove = ["S-waiting-on-author"] |
The only question is how to make this in a backwards compatible way... |
To give feedback on the best approach, can you explain a bit on what you want from this? |
@jackh726 I want to improve the way we handle draft PRs. Specifically there are 3 things:
Currently they don't have any special handling. This is a bit awkward because drafts are marked as Since people know how to use github features and occasionally do use them in |
@WaffleLapkin, are you still interested in moving this change forward? |
@Urgau I would be interested, but I'm not sure what would be the next step here. Would be happy to discuss if you have ideas though. |
This is no longer the case since #1968, we don't autolabel, nor auto-assign draft PRs when opened. We do now respect ready for review. I don't think we have handling yet for "PRs converted to drafts", what would expect us to do in those cases? |
Adds the following options: