Answer prose round 1: 0 🔴, 4 🟡 (0 misread); 0 🔴, 4 🟡 (0 misread); reword the README entry, the Re-entry exception, item 392 and five comments
CI / tests (pull_request) Successful in 4m58s
CI / tests (pull_request) Successful in 4m58s
This commit is contained in:
+2
-2
@@ -19,7 +19,7 @@ PAGE_SIZE = 50
|
||||
PUSH_SECONDS = 60
|
||||
PUSH_POLL_SECONDS = 5
|
||||
# What gh says of a pull request whose head has no check. gh exits 1 for it, as for a failed check, so only the text tells the two apart. gh
|
||||
# doesn't document the text; it is read from gh 2.102.0's `pr checks`, whose source words it "no checks reported on the '<branch>' branch".
|
||||
# doesn't document the text; gh 2.102.0's `pr checks` prints "no checks reported on the '<branch>' branch".
|
||||
NO_CHECKS = "no checks reported"
|
||||
|
||||
|
||||
@@ -103,7 +103,7 @@ def ready_pulls(forge: Forge, run: Run) -> list[ReadyPull] | Failure:
|
||||
rows = [line.split("\t") for line in listed.splitlines()]
|
||||
found = [ReadyPull(*row[:3]) for row in rows if row[3:] == ["false", "false"]]
|
||||
else:
|
||||
# A limit: an awaited pull request past the first page of open ones, drafts and forks counted, is not seen.
|
||||
# A limit: this reads one page of the open pull requests, drafts and forks counted, so an awaited one past that page is not seen.
|
||||
pulls = gitea(run, f"repos/{{owner}}/{{repo}}/pulls?state=open&limit={PAGE_SIZE}")
|
||||
if isinstance(pulls, Failure):
|
||||
return pulls
|
||||
|
||||
Reference in New Issue
Block a user