From 51ea75c69bdf14e766aefc94df5706c1083cf760 Mon Sep 17 00:00:00 2001 From: Karuppiah Natarajan Date: Fri, 2 Jul 2021 02:02:46 +0530 Subject: [PATCH] update etcd-io/etcd#13167 issue --- etcd-io/etcd/issue-13167/find-flaky-tests-data.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/etcd-io/etcd/issue-13167/find-flaky-tests-data.sh b/etcd-io/etcd/issue-13167/find-flaky-tests-data.sh index 3162217..05afa29 100755 --- a/etcd-io/etcd/issue-13167/find-flaky-tests-data.sh +++ b/etcd-io/etcd/issue-13167/find-flaky-tests-data.sh @@ -7,3 +7,4 @@ curl -H "Authorization: token $GITHUB_TOKEN" \ }' \ https://api.github.com/graphql | jq . > commit-and-check-data.json +cat commit-and-check-data.json | jq '.data.repository.defaultBranchRef.target.history.edges | reduce .[] as $item (0; if $item.node.statusCheckRollup.state == "SUCCESS" then (. + 1) else . end)'