tools: add more automation for labeling - #65059
Conversation
Signed-off-by: avivkeller <me@aviv.sh>
Signed-off-by: avivkeller <me@aviv.sh>
|
Review requested:
|
|
I don't think either one of those is a good idea.
author ready
Many a time this is not an indication of an author ready PR. Possibly for outside contributions, but for collaborators who "author" and drive their own PRs to completion this isn't case. A review may fly in while i'm running full CI to figure out a failure. Not a ready PR.
commit-queue
That's just asking for trouble |
|
The
So I based the criteria off of that, perhaps I can change it to only run when there's a passing CI and none in progress?
Hypothetically it hopefully shouldn't, it'll only run on PRs that are ready to land, no? |
|
+1 to panva's sentiments. I do get the motivation, but I think that a workflow that gives potentially-mergeable PRs a "nudge" after a couple of weeks (just a comment or something similar) would be far more appropriate. One definition for this could be a PR with one or more collaborator approvals, and no failures from GHA's own check suites (ie. excluding Jenkins failures). |
Recently, we changed our stale bot to collect issues and PRs at a much more aggressive rate, and we should see the fruits of that in a few weeks (I think 2?).
However, part of preventing stale and stalled PRs is merging them in a timely fashion, so this PR adds the following automations:
The
author readylabel is added to a PR when:The
commit-queuelabel is added to a PR when:author readylabel)main, andmergeableis not CONFLICTINGneeds-cimainhas not moved oncommit-queue-failed) or a blocked labelblocked,wip, etccc @nodejs/TSC