Adding a GitHub webhook
You can specify webhooks on Github so that Bitrise automatically triggers a build of your app whenever you perform a specified action, such as a code push or a pull request.
You can specify webhooks so that Bitrise automatically triggers a build of your app whenever you perform a specified action, such as a code push or a pull request. For GitHub, all you have to do is register your bitrise-webhooks
URL as a Webhook in your GitHub repository.
In addition, you can take advantage of Git Insights. Git Insights enables you to quantify and optimize Git collaboration. It provides crucial metrics like pull request cycle time and merge frequency.
You can register a webhook either automatically or manually. This guide walks you through the process of manually registering a webhook.
-
Open your app on Bitrise with a user that has the Admin role on the app's team.
-
On the main page of the app, click on the App Settings icon: .
-
On the left, select Integrations.
-
Click
. -
In the pop-up window, select GitHub from the dropdown menu.
-
Copy the webhook URL.
-
Navigate to your GitHub repository and select Settings.
-
Select Add webhook under Webhooks.
-
Paste the GitHub Webhook URL from Bitrise to the Payload URL.
-
And on the same page, select Let me select individual events.
-
Select Pull request and Push.
-
Press the Add webhook button and you're done.