capabilities.work

Get the overall CI status of a ref

One step with GitHub. We can help you get access.

Look something up

Get the overall CI status of a ref

with GitHub · Software Construction Management

Use GitHub: its GitHub v3 REST Repos API lets you get the overall CI status of a ref in a single step (GET /repos/{owner}/{repo}/commits/{ref}/status). capabilities.work can help you get signed up and connected.

  • Are all the status checks on this commit green?
  • Can I get a single success, pending or failure state for a branch's latest commit?
Say it to your AI assistant
  • Get the combined status for {ref} in {owner}/{repo}.
  • Tell me whether all statuses on {ref} of {owner}/{repo} are passing.
For your developer

GET /repos/{owner}/{repo}/commits/{ref}/status in GitHub v3 REST Repos API. Full spec on APIs.io.