Get PR checks list from API/CLI

Going through the responses from the /pulls endpoint, I am wondering is there a way to get through it a list of all the checks for a certain PR ? Or may be through the git/gh CLIs ?

To make it clear, I am trying to get something like this:

[
  checks: {
    'RNW Website PR / Website PR (pull_request)',
    'license/cla' 
  }
]

from this:

24g24h353

The additional information like pass/fail, source etc. is also welcome :slight_smile:

@aleks-ivanov

You can use GItHub CLI to get the pull request checks.

Ex

  1. Success Report
    I have used microsoft/react-native-windows-samples PR 450.

  1. Failure Report
    I have used microsoft/react-native-windows-samples PR 446.

1 Like