Skip to Content
Softagram
  • Home
  • Services
    • ERP
    • AI Services
    • Security
  • Company
  • Contact
  • Blog
    • News
    • Guides
  • Tech
  • Sign in
  • Contact Us
Softagram
      • Home
      • Services
        • ERP
        • AI Services
        • Security
      • Company
      • Contact
      • Blog
        • News
        • Guides
      • Tech
    • Sign in
    • Contact Us

    How to setup impact reports for GitHub (enterprise only)

    Integrations
  • All Blogs
  • Oppaat
  • How to setup impact reports for GitHub (enterprise only)
  • February 15, 2020 by
    How to setup impact reports for GitHub (enterprise only)
    Matti Mäki

    NOTE: This content only applies to Softagram Enterprise installations. If you are using Softagram Cloud, please install our GitHub App instead.

    Integrating Softagram with GitHub (OAuth)

    Softagram comes with impact reports that are automatically created when you open a new pull request. It gives the pull request contributors and reviewers a quick understanding about the change.

    This is all you need to do

    1. Add your repositories to Softagram

    2. Enjoy automatic reports

    If you have issues getting the automatic reports, please check in the bottom of this article how to check that the webhook has been set up for your repository correctly.

    1. Add your repositories to Softagram:

    • Login to Softagram Enterprise with your account and create a new project

    • Add your repos from Github Cloud:

    • Authenticate to GitHub, if asked

    • Select the repo(s) you want and click Add:

    • Confirm you can see the selected repos under your project

    2. Enjoy automatic Impact Reports

    When a new pull request is opened to your repository, Softagram will analyze the change and send an impact report back as a comment to your pull request. See the example below and read more about the report here!
    ​

    The comment is sent by the GitHub account you used when authenticating with Softagram. If you prefer to not use anyone's personal account, then you should create or use an existing CI/bot account in your GitHub organization and use this account when connecting your Github account to Softagram.

    You can even use one of the SG logos below as the avatar for the GitHub account so it'll be completely clear that the impact reports come from Softagram.

    Did you have issues with getting the automatic reports?

    Check that the Softagram webhook was created properly to your repository in GitHub

    • Go to github.com and open repository settings (something like https://github.com/your_org/your_repo/settings/hooks)

    • Open Webhooks and if the Softagram webhook doesn't exist, click "Add webhook":

    • Set Payload URL to https://private.softagram.com/api/github-pullrequest-commenter-webhook

    • Set Content type to application/json

    • Leave the Secret empty

    • Choose Let me select individual events

    • Select only "Pull request", unselect anything else

    • Keep Active checkbox selected and then click "Add webhook"

    Originally published at help.softagram.com

    in Oppaat
    # Softagram Analyzer

    Designed for companies

    We are a team of passionate people whose goal is to improve everyone's life through disruptive products. We build great products to solve your business problems. Our products are designed for small to medium size companies willing to optimize their performance.

    Ota yhteyttä

    Softagram Oy
    Ketolanperäntie 469 
    90450 ​Kempele 

    • +358504836173
    • info@softagram.com
    Follow us
    Copyright © Softagram Oy
    Powered by Odoo - Create a free website