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
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:
1 parent
44cfaab718
commit
4a7fa2045a
1 file changed
+1
-1
@@ -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])
|
||||
|
||||
Reference in new issue
Block a user