card #80: kept .github/time/test_steward.py (generated)
time/worker-run cd .github/time; cat >> test_time.py <<'EOF' # 80 the steward tick: its own file (fake forge, no m

This commit is contained in:
time committed 2026-10-18 07:21:50 +00:00
1 parent 44cfaab718
commit 4a7fa2045a
1 file changed
+1 -1
+1 -1
View File
@@ -62,7 +62,7 @@ class Forge:
return [dict(i, labels=[{"name": l} for l in i["labels"]]) for i in out]
if seg[0] == "issues" and len(seg) == 1 and method == "POST":
n = max(self.issues) + 1
self.add_issue(n, body["title"], body["body"], [f"label{l}" if isinstance(l, int) else l for l in body["labels"]])
self.add_issue(n, body["title"], body["body"], [self.lname(l) for l in body["labels"]])
return {"number": n}
if seg[0] == "issues" and seg[-1] == "comments":
n = int(seg[1])