Configure a Webhook in GitHub
A. Create a Webhook API Token from ARM
Follow the steps below to create a webhook API token in ARM:
Log in to ARM.
Navigate to the Admin section and select API Token.
Click Create API Token.

Enter a Token Name.
Select Type as webhook.
(Optional) Add a Description.
Click Create Option.

Your API token is now created.
B. Create Webhook with Authentication on GitHub
Webhooks allow external services to receive notifications about repository events. GitHub sends a POST request to the configured URL when those events occur.
Steps to Configure:
Go to https://github.com/login and log in.
Open your target repository.

Click Settings in the right panel.

In the left menu, click Webhooks & Services, then Add Webhook.

In the Payload URL, enter the webhook endpoint:

Enter the Secret Key from ARM’s API token.

Set Content Type to
application/json
.

Choose Just the push events.
Click Add Webhook.

To trigger webhooks for pull requests, select Let me select individual events and check Pull requests.

Click Add webhook to finalize.
Smart Commits
Smart Commits allow linking commits to ALM stories using custom comment patterns. For example:

To configure a webhook in your repository:
Enable the Enable auto update on webhook checkbox to reveal the webhook URL.
For more repository-specific instructions, refer to the Webhook Configuration Guide.
You may also choose to Sync External Smart Commits.
For Enterprise Customers
Use the following endpoints for enterprise-specific integrations: /api/webhook/v2//enterprise/trigger-scm-push-request /api/webhook/v2//enterprise/sync-alm-commits
Last updated
Was this helpful?