github.com/ungtb10d/cli/v2@v2.0.0-20221110210412-98537dd9d6a1/pkg/cmd/pr/view/fixtures/prViewPreviewWithAllChecksFailing.json (about)

     1  {
     2    "data": {
     3      "repository": {
     4        "pullRequest": {
     5          "number": 12,
     6          "title": "Blueberries are from a fork",
     7          "state": "OPEN",
     8          "body": "**blueberries taste good**",
     9          "url": "https://github.com/OWNER/REPO/pull/12",
    10          "author": {
    11            "login": "nobody"
    12          },
    13          "additions": 100,
    14          "deletions": 10,
    15          "assignees": {
    16            "nodes": [],
    17            "totalcount": 0
    18          },
    19          "labels": {
    20            "nodes": [],
    21            "totalcount": 0
    22          },
    23          "projectcards": {
    24            "nodes": [],
    25            "totalcount": 0
    26          },
    27          "milestone": {
    28            "title": ""
    29          },
    30          "commits": {
    31            "totalCount": 12
    32          },
    33          "baseRefName": "master",
    34          "headRefName": "blueberries",
    35          "headRepositoryOwner": {
    36            "login": "hubot"
    37          },
    38          "isCrossRepository": true,
    39          "isDraft": false,
    40          "statusCheckRollup": {
    41            "nodes": [
    42              {
    43                "commit": {
    44                  "oid": "abc",
    45                  "statusCheckRollup": {
    46                    "contexts": {
    47                      "nodes": [
    48                        {
    49                          "conclusion": "FAILURE",
    50                          "status": "COMPLETED",
    51                          "name": "cool tests",
    52                          "completedAt": "2020-08-27T19:00:12Z",
    53                          "startedAt": "2020-08-27T18:58:46Z",
    54                          "detailsUrl": "sweet link"
    55                        },
    56                        {
    57                          "conclusion": "FAILURE",
    58                          "status": "COMPLETED",
    59                          "name": "sad tests",
    60                          "completedAt": "2020-08-27T19:00:12Z",
    61                          "startedAt": "2020-08-27T18:58:46Z",
    62                          "detailsUrl": "sweet link"
    63                        }
    64                      ]
    65                    }
    66                  }
    67                }
    68              }
    69            ]
    70          }
    71        }
    72      }
    73    }
    74  }