Skip to content

Commit db27db4

Browse files
committed
Don't categorize app/otelbot PRs as waiting on authors
1 parent edbcfeb commit db27db4

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/scripts/pull-request-dashboard.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -771,6 +771,12 @@ def render_markdown_compact(
771771
res = results.get(pr["number"]) or {}
772772
decision = res.get("decision") or {}
773773
side = _infer_side(decision) if decision else "unknown"
774+
# PRs authored by app/otelbot are never "waiting on authors" — the
775+
# bot doesn't respond to review feedback, so the ball is always in
776+
# an approver's court (review, close, or take over).
777+
pr_author_login = ((pr.get("author") or {}).get("login") or "").lower()
778+
if side == "author" and pr_author_login == "app/otelbot":
779+
side = "approver"
774780
# Promote approved PRs that are waiting on approvers into the
775781
# "maintainer" bucket (deterministic): GitHub already says they have
776782
# the required approvals, so a maintainer can merge them.

0 commit comments

Comments
 (0)