Skip to content

Latest commit

 

History

History
38 lines (23 loc) · 1.55 KB

INTEGRATING_GIT_PROVIDERS.md

File metadata and controls

38 lines (23 loc) · 1.55 KB

GitHub Integration

1. Configuring secret token

Abstruse configuration file is located in ~/.abstruse/config.json.

The integration of GitHub webhooks and Abstruse is done using secret token. The default secret is set to thisIsSecret.

It is recommended to change the default secret token and restart abstruse to apply changes.

2. Setting up Github Webhooks

In repository Settings navigate to Webhooks section in the menu. Click Add Webhooks and fill in the required information.

An example of a successful webhook entry can be seen in a screenshot below. Instead of https://abstruse.bleenco.io the URL of your choice has to be entered.

3. Initiating Abstruse repositories

Your new code repositories will automatically appear in Abstruse after the first commit or pull request.

Note: Please make sure your local repository includes .abstruse.yml file.

4. Setting up protected branches

In repository Settings navigate to Branches section in the menu. Click Edit next to the branch you want to protect and select the checkbox continuous-integration/abstruse as required.