Answer prose round 1: 0 🔴, 3 🟡 (1 misread); drop the flags a do-epic worker never passes, and reword the added sentences
CI / tests (pull_request) Successful in 3m55s
CI / tests (pull_request) Successful in 3m55s
This commit is contained in:
+1
-1
@@ -52,7 +52,7 @@ BEHIND = "is behind its base branch, whose protection requires it up to date"
|
||||
def unmergeable(forge: Forge, number: str, run: Run) -> str | None | Failure:
|
||||
"""Why pull request number doesn't merge into its base as it stands: CONFLICTS or BEHIND. None where it merges, and while GitHub still computes whether it does.
|
||||
|
||||
GitHub reports a pull request as behind only where the base's protection requires an up-to-date branch. Gitea's `mergeable` never tells that case. It is also false for the seconds Gitea checks for conflicts after a push to either branch, which reads as CONFLICTS here.
|
||||
GitHub reports a pull request as behind only where the base's protection requires an up-to-date branch. Gitea's `mergeable` never tells that case. Gitea also answers false for the seconds it checks for conflicts after a push to either branch, which reads as CONFLICTS here.
|
||||
"""
|
||||
if forge == "gh":
|
||||
viewed = run(["gh", "pr", "view", number, "--json", "mergeable,mergeStateStatus"])
|
||||
|
||||
Reference in New Issue
Block a user