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

Problem with GitHub Checks Api, webhook with empty .pull_requests array

Hello everybody, 

I have some troubles with webhooks from GitHub Checks.

 

When I create check_suite for old branch (or maybe for forks branch), iw got Webhook where .pull_requests array are empty. Also when i press "rerequest check suite" iw got the same thing, but you can see that pull request are here. 

 

https://github.com/GitAppTester/js/pull/2/checks

 

Event:

{
  "action": "rerequested",
  "check_suite": {
    "id": 35572032,
    "node_id": "MDEwOkNoZWNrU3VpdGUzNTU3MjAzMg==",
    "head_branch": null,
    "head_sha": "caad24a1be06d00292e4f777b1767a4c18f566f5",
    "status": "queued",
    "conclusion": null,
    "url": "https://api.github.com/repos/GitAppTester/js/check-suites/35572032",
    "before": null,
    "after": null,
    "pull_requests": [

    ],

 

What can be problem in?