GitHub
Send GitHub change events to Cardinal.
Generate a Cardinal API Key
- Navigate to the API Keys page (opens in a new tab) in the Cardinal UI.
- Click the
Create API Key
button, and give it a descriptive name. - Copy the API Key to use below.
Add Webhook to GitHub
- Navigate to your Organization or Repository settings in GitHub.
- Click the
Webhooks
tab in the left sidebar. - Click the
Add webhook
button. - Set the
Payload URL
tohttps://api.global.aws.cardinalhq.io/api/v1/webhooks/github?x-cardinalhq-api-key=YOUR_CARDINAL_API_KEY
. - Set the
Content type
toapplication/json
. - Select
Let me select individual events
and select the event types you'd like to send to Cardinal. We recommend selecting the following event types:- Pushes
- Pull requests
- Workflow jobs
- Workflow runs
- Click the
Add webhook
button.