github.com/andrewhsu/cli/v2@v2.0.1-0.20210910131313-d4b4061f5b89/pkg/cmd/pr/status/fixtures/prStatusChecks.json (about)

     1  {
     2    "data": {
     3      "repository": {
     4        "pullRequests": {
     5          "totalCount": 0,
     6          "edges": []
     7        }
     8      },
     9      "viewerCreated": {
    10        "totalCount": 3,
    11        "edges": [
    12          {
    13            "node": {
    14              "number": 8,
    15              "title": "Strawberries are not actually berries",
    16              "state": "OPEN",
    17              "url": "https://github.com/cli/cli/pull/8",
    18              "headRefName": "strawberries",
    19              "reviewDecision": "CHANGES_REQUESTED",
    20              "statusCheckRollup": {
    21                "nodes": [
    22                  {
    23                    "commit": {
    24                      "statusCheckRollup": {
    25                        "contexts": {
    26                          "nodes": [
    27                            {
    28                              "state": "SUCCESS"
    29                            }
    30                          ]
    31                        }
    32                      }
    33                    }
    34                  }
    35                ]
    36              }
    37            }
    38          },
    39          {
    40            "node": {
    41              "number": 7,
    42              "title": "Bananas are berries",
    43              "state": "OPEN",
    44              "url": "https://github.com/cli/cli/pull/7",
    45              "headRefName": "banananana",
    46              "reviewDecision": "APPROVED",
    47              "statusCheckRollup": {
    48                "nodes": [
    49                  {
    50                    "commit": {
    51                      "statusCheckRollup": {
    52                        "contexts": {
    53                          "nodes": [
    54                            {
    55                              "status": "IN_PROGRESS",
    56                              "conclusion": ""
    57                            }
    58                          ]
    59                        }
    60                      }
    61                    }
    62                  }
    63                ]
    64              }
    65            }
    66          },
    67          {
    68            "node": {
    69              "number": 6,
    70              "title": "Avocado is probably not a berry",
    71              "state": "OPEN",
    72              "url": "https://github.com/cli/cli/pull/6",
    73              "headRefName": "avo",
    74              "reviewDecision": "REVIEW_REQUIRED",
    75              "statusCheckRollup": {
    76                "nodes": [
    77                  {
    78                    "commit": {
    79                      "statusCheckRollup": {
    80                        "contexts": {
    81                          "nodes": [
    82                            {
    83                              "status": "IN_PROGRESS",
    84                              "conclusion": ""
    85                            },
    86                            {
    87                              "state": "FAILURE"
    88                            },
    89                            {
    90                              "status": "COMPLETED",
    91                              "conclusion": "NEUTRAL"
    92                            }
    93                          ]
    94                        }
    95                      }
    96                    }
    97                  }
    98                ]
    99              }
   100            }
   101          }
   102        ]
   103      },
   104      "reviewRequested": {
   105        "totalCount": 0,
   106        "edges": []
   107      }
   108    }
   109  }