Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Copilot Lvl 2
Message 1 of 2

API v3: What causes a check run/suite pull request field to be empty?

Solved! Go to Solution.

I'm getting check run and check suite events without any pull requests associated with them. What does this mean and what causes it? I would have thought check runs and check suites are tightly coupled to pull requests.

 

Any insight is greatly appreciated.

1 Reply
Solution
Community Manager
Message 2 of 2

Re: API v3: What causes a check run/suite pull request field to be empty?

As stated in the documentation, check runs and suites are associated with a commit:

 

A check suite is a collection of the check runs created by a single GitHub App for a specific commit.

 

While one of the places where they are easiest to see in the GitHub UI is on a pull request, they're tightly coupled to commits and not branches or PRs.

 

I hope that helps!