Configure a Webhook in GitHub Enterprise
Configure a Webhook in GitHub Enterprise
A. Create a Webhook API Token from ARM
Follow these steps to create a webhook API token in ARM:
Log in to ARM.
Navigate to the Admin section and select API Token.
Click on Create API Token.
API Token Creation Enter a Token Name.
Set Type to webhook.
(Optional) Provide a Description.
Click on Create Option.
Webhook Token Configuration Your new API token is now created.
B. Create Webhook with Authentication on GitHub
Webhooks notify external services when specific events occur. To configure a webhook in GitHub:
Sign in to GitHub.
Navigate to the desired repository.
Click on Settings in the repository's menu.
Repository Settings In the left sidebar, click on Webhooks.
Click on Add webhook.
Add Webhook In the Payload URL field, enter:
Configure a Webhook in GitHub Enterprise
A. Create a Webhook API Token from ARM
Follow these steps to create a webhook API token in ARM:
Log in to ARM.
Navigate to the Admin section and select API Token.
Click on Create API Token.
API Token Creation Enter a Token Name.
Set Type to webhook.
(Optional) Provide a Description.
Click on Create Option.
Webhook Token Configuration Your new API token is now created.
B. Create Webhook with Authentication on GitHub
Webhooks notify external services when specific events occur. To configure a webhook in GitHub:
Sign in to GitHub.
Navigate to the desired repository.
Click on Settings in the repository's menu.
Repository Settings In the left sidebar, click on Webhooks.
Click on Add webhook.
Add Webhook In the Payload URL field, enter:
For example, if your instance is https://login.autorabit.com
and your organization name is autorabit.com
, the payload URL would be:

In the Secret field, enter the API token generated from ARM.

Set Content type to application/json.

Under Which events would you like to trigger this webhook?, select Just the push event.
Click Add webhook.

To trigger the webhook on pull requests, select Let me select individual events and check Pull requests.

Click Add webhook to save the configuration.
Smart Commits
Smart Commits allow you to associate Git commits with ALM stories using specific patterns. For example:
To configure Smart Commits:
Select the Enable auto update on webhook checkbox to reveal the required webhook URL.
For more information on configuring webhooks in different repositories, refer to the Webhook Setup Guide.
You can also choose to sync external smart commits.

For Enterprise Customers
GitHub Enterprise users should raise a support ticket to [email protected] to have their repository URL added to the webhookurls.properties
file.
Use the following endpoints for enterprise configurations:
/api/webhook/v2//enterprise/trigger-scm-push-request
/api/webhook/v2//enterprise/sync-alm-commits
Last updated
Was this helpful?