gh api repos/hidakatsuya/shopping_list/branches/main
{
"name": "main",
"commit": {
"sha": "fbc7644c880c0517504e6de6be96e4c3b5c3dda4",
...
...
References
gh api repos/hidakatsuya/shopping_list/commits/fbc7644c880c0517504e6de6be96e4c3b5c3dda4/check-runs
{
"total_count": 1,
"check_runs": [
{
"id": 123,
"name": "Test",
(snip)
"status": "completed",
"conclusion": "success",
"started_at": "2022-12-15T11:44:49Z",
"completed_at": "2022-12-15T11:46:30Z",
...
$ gh api repos/hidakatsuya/shopping_list/commits/fbc7644c880c0517504e6de6be96e4c3b5c3dda4/check-runs | jq ".check_runs[0].status"
"completed"
References