How to view your GitHub WebHook deliveries

Viewing webhooks on GitHub can be a useful diagnostic tool when attempting to discover why perhaps a push to your repo has potentially not resulted in a job on CircleCI.


What is a WebHook?

A webhook is what allows CircleCI to automatically take action every time you push a commit. GitHub will send us a packet of information about your project when a number of events ocur, a "push" being the most popular.

GitHub developer docs | Webhooks

 

How to find your WebHooks

1. If you are a GitHub user you can start by navigating to your repository's settings page

2. You should now see a page similar to the following:

Screen_Shot_2019-04-11_at_5.03.41_PM.png

3. From here you want to click on the CircleCI webhook URL, and scroll down to "Recent Deliveries".

Screen_Shot_2019-04-11_at_5.05.23_PM.png

4. Click on the top result to find the most recent delivery. This will show the Headers and Payload of the WebHook.

Screen_Shot_2019-04-11_at_5.06.12_PM.png

 

The X-GitHub-Delivery value (also the same as the link you clicked on to open this webhook) is useful for tracking your webhook. Support can use this to do further investigation if needed.


In the Payload section under the SHA value, you can find the commit hash to ensure the webhook is referring tot he correct commit.

 

You can also check the response back from CircleCI when GitHub sent the response. Switch from the "Request" tab to the "Response" tab. If you see a 200 response, your WebHook has been delivered successfully.

 

Screen_Shot_2019-04-11_at_5.31.21_PM.png

Was this article helpful?
6 out of 8 found this helpful

Comments

0 comments

Please sign in to leave a comment.