Search results for "{{ search.query }}"

No results found for "{{search.query}}". 
View All Results

GitHub Integration

GitHub is a web-based Git or version control repository and Internet hosting service. It is mostly used for code. It offers all of the distributed version control and source code management (SCM) functionality of Git as well as adding its own features. It provides access control and several collaboration features such as bug tracking, feature requests, task management, and wikis for every project.

What does OpsGenie offer to GitHub users?

Using OpsGenie GitHub integration, GitHub forwards certain events (like pull requests, issues and push events) to OpsGenie with detailed information. OpsGenie acts as a dispatcher for GitHub alerts, determining the right people to notify based on on-call schedules, using email, text messages (SMS), phone calls and iOS & Android push notifications, and escalating alerts until the alert is acknowledged or closed.

Functionality of the integration

  • When a pull request is created in your repository in GitHub, it creates an alert in OpsGenie.
  • When an issue is created in your repository in GitHub, it creates an alert in OpsGenie.
  • When a push is made to your repository in GitHub, it creates an alert in OpsGenie.
  • When a pull request is closed in your repository in GitHub, it closes the alert in OpsGenie.
  • When an issue is closed in your repository in GitHub, it closes the alert in OpsGenie.

Add GitHub integration in OpsGenie

  1. Please create an OpsGenie account if you haven't done already.
  2. Go to OpsGenie GitHub Integration page.
  3. Specify who should be notified for GitHub alerts using the "Teams" field. Auto-complete suggestions will be provided as you type.
  4. Copy the Webhook URL by clicking on the copy button or selecting.
  5. Click on "Save Integration".

Configuration in GitHub

  1. In your GitHub repository, click on Settings tab on the top.
  2. Select Webhooks from the left pane.
  3. Click on Add webhook button.
  4. Paste your Webhook URL into the Payload URL field.
  5. Select application/json as the Content type.
  6. Select Let me select individual events. option for the Which events would you like to trigger this webhook? part.
  7. Select Push, Issues and Pull request from the list. Make sure the Active option is checked.
  8. Click on Add webhook button.

You can find more information on GitHub's Webhooks feature here.

When you save the Webhook configuration in GitHub, you will get a test alert created in OpsGenie.

GitHub Integration