fix(robomp): clear needs-info on resume

This commit is contained in:
oldschoola
2026-06-15 18:22:34 -07:00
parent a409fd3216
commit b945f54962
8 changed files with 73 additions and 1 deletions
+11
View File
@@ -7,6 +7,7 @@ import time
from collections.abc import Mapping
from dataclasses import dataclass
from typing import Any
from urllib.parse import quote
import httpx
@@ -446,6 +447,16 @@ class GitHubClient:
)
return tuple(str(lbl["name"]) if isinstance(lbl, dict) else str(lbl) for lbl in (data or []))
async def remove_issue_label(self, repo: str, number: int, label: str) -> None:
"""Remove one label from an issue (or PR)."""
if not label:
return
encoded = quote(label, safe="")
await self.request(
"DELETE",
f"/repos/{repo}/issues/{number}/labels/{encoded}",
)
async def submit_pr_review(
self,
*,