You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Per discussion on moby/moby#28143 (comment), we should have a way to detect if labels on an issue were manually corrected. This may be a difficult one, but initial thoughts;
add a label "manual-override" (e.g.) that tells poule to not apply labels
detect if the issue/PR has a "person X removed label xyz" action, and if so, don't re-apply that label (may be expensive)
detect if labels of a specific kind are already present (e.g., if a "area/xyz" label is already present, don't add a different area, likewise for "kind/xyz")
Just one small note: as it is configured today in Docker, poule will only add labels when an issue is initially opened, reopened, or edited. Unless one of those events apply, we can manually change them and they will state.
add a label "manual-override" (e.g.) that tells poule to not apply labels
Easy enough.
detect if the issue/PR has a "person X removed label xyz" action, and if so, don't re-apply that label (may be expensive)
I don't think that's doable through GitHub's API (there's no audit trail of who did what).
detect if labels of a specific kind are already present (e.g., if a "area/xyz" label is already present, don't add a different area, likewise for "kind/xyz")
I merged something in this morning that allows just that! I added the support for filtering in serve mode, so we should be able to do things like:
Per discussion on moby/moby#28143 (comment), we should have a way to detect if labels on an issue were manually corrected. This may be a difficult one, but initial thoughts;
/cc @icecrime @ehazlett
The text was updated successfully, but these errors were encountered: