All Products
Search
Document Center

EventBridge:GitHub integration

Last Updated:Aug 21, 2026

This topic explains how to use an HTTP event source in EventBridge to integrate with GitHub.

Background

Integrating GitHub with EventBridge lets you send events from your repository, such as code pushes, directly to your team members to track code changes and improve collaboration.

Prerequisites

Procedure

Step 1: Create a GitHub webhook URL

Create an event source of the HTTP/HTTPS Events type in the EventBridge console. The following table describes the parameters. For more information, see Custom event source with an HTTP/HTTPS trigger.

  • Request Type: Select HTTP&HTTPS.

  • Request Method: Select a POST.

  • Security Configuration: Select Optional.

After the event source is created, you can find the custom event source in the event source list, and then click Details to view the configuration information. Internet request URL can be used as the webhook URL of the event source. pic-1

Step 2: Create a repository webhook

  1. Log in to GitHub and select a repository.

  2. On the Settings tab, in the left navigation pane, click Webhooks.

  3. In the upper-right corner, click Add webhook. Configure the following parameters and click Add webhook.

    • Payload URL: Enter the Internet request URL that you obtained in Step 1.

    • Content type: Select application/json.

    • Which events would you like to trigger this webhook?: Select Just the push event.

  4. Make a change in your local repository, commit the change, and push it to GitHub.

Step 3: Verify the result

  1. Log on to the EventBridge console.

  2. In the top navigation bar, select a region.

  3. In the left-side navigation pane, click Event Buses.

  4. In the left-side navigation pane, click Event Tracking to view and verify the obtained event information.