Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

GitHub Webhooks Integration allows you to check whether your Pull Requests meets your WhiteSource policies. That way you will be able to identify dependencies that violating your company policies before committing them.

Info
titleNote:

Currently supports NPM projects only. Package.json file is required.

 

Supported Repositories

GitHub Webhooks Integration currently supports Node.js GitHub repositories.

...

Add Your GitHub Repositories

In order to add your Github repositories you should perform the following steps:

  1. Go to 'Admin'.

  2. Click on 'GitHub Webhooks Integration' under the 'Integration' section.

  3. Add the 'Repository Url' and click on 'Add'

...

Configure GitHub Webhooks

In order to add and configure WhiteSource as a webhook you should perform the following steps :

  1. Login to your GitHub repository.
  2. In order to configure your GitHub Webhooks you first need to verify you have sufficient access to your organization's repositories settings on GitHub.
  3. In your GitHub repository, go to the 'Settings' tab.

  4. On the left section of the page, choose 'Webhooks'.

  5. Click on 'Add webhook'.

  6. Under the 'Payload URL' enter the following link: https://saas.whitesourcesoftware.com/githubIntegration. 
  7. Make sure the 'Content type' is 'application/json'.
  8. Under the "events" section choose 'Let me select individual events'.

  9. Mark the 'Pull request' checkbox, make sure this is the only checkbox that is marked.
  10. Click on the 'Add webhook' button.

...