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

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?

 

1 Reply
Community Manager
Message 2 of 2

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

Hey @npdev453,

 

Thank you for being here, I don't see any obvious reason why this is happening. If you haven't already, please contact us at git.io/c with the info so we can look into that further.

 

Best,

Andrea

Mark helpful posts with Accept as Solution to help other users locate important info. Don't forget to give Kudos for great content!