From 26853ba7381c3b2525e3f023a0d042c2aa84fd4c Mon Sep 17 00:00:00 2001 From: Jonas Bernoulli Date: Thu, 14 Dec 2023 19:12:48 +0100 Subject: [PATCH] [todo] Fetch CI data --- lisp/ghub-graphql.el | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/lisp/ghub-graphql.el b/lisp/ghub-graphql.el index 89d424e..3d9ae8e 100644 --- a/lisp/ghub-graphql.el +++ b/lisp/ghub-graphql.el @@ -204,7 +204,36 @@ behave as for `ghub-request' (which see)." updatedAt body) (labels [(:edges t)] - id))))) + id) + (commits [(:edges 10)] + (commit + oid + (checkSuites [(:edges t)] + id + databaseId + conclusion + status + resourcePath + url + (workflowRun + id + databaseId + runNumber + (workflow name)) + (checkRuns [(:edges t)] + id + databaseId + name + conclusion + status + permalink + ;; (isRequired + ;; [(pullRequestNumber 586)]) + ) + ))) + )))) + +;; (ghub-fetch-pullreq "magit" "forge" 586 #'ghub--graphql-pp-response) (defconst ghub-fetch-repository-review-threads '(query