From f19cbee76607e508971c15a35e42d5fca2da22a8 Mon Sep 17 00:00:00 2001 From: Ankush Menat Date: Thu, 5 Mar 2026 17:01:59 +0530 Subject: [PATCH] ci: Skip failure when Github API doesn't work (#37802) --- .github/helper/documentation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/helper/documentation.py b/.github/helper/documentation.py index 87550596da..122ddef090 100644 --- a/.github/helper/documentation.py +++ b/.github/helper/documentation.py @@ -43,7 +43,7 @@ def contains_documentation_link(body: str) -> bool: def check_pull_request(number: str) -> "tuple[int, str]": response = requests.get(f"https://api.github.com/repos/frappe/frappe/pulls/{number}") if not response.ok: - return 1, "Pull Request Not Found! ⚠️" + return 0, "Pull Request Not Found! ⚠️" payload = response.json() title = (payload.get("title") or "").lower().strip()