Github

Adding The GitHub integration

Create GitHub issues for new Airbrake errors!
This integration allows you to create a GitHub issue from an Airbrake error manually.
You can also set this integration to automatically create a GitHub issue when a new type of error is reported to Airbrake.

Authenticate with GitHub

Airbrake needs permission to create GitHub issues for your project.

  1. Click Integrations for your project
  2. Click GitHub
  3. Click the button that says Redirect to GitHub for authentication

github-auth.png

Add your project's GitHub repo url

For a GitHub user mmcdaris who has a repo named coffee-bot the GitHub repo URL you would use is:

https://github.com/mmcdaris/coffee-bot.git
  1. Enter GitHub repo URL
  2. Click Save

github-repo-url.png

Adding The Github Enterprise integration

Create GitHub Enterprise issues for new Airbrake errors!
This integration allows you to create a GitHub Enterprise issue from an Airbrake error manually.
You can also set this integration to automatically create a GitHub Enterprise issue when a new type of error is reported to Airbrake.

Authentication

Airbrake needs your personal GitHub Enterprise access token to create GitHub Enterprise issues for your project.

  1. Click Integrations for your project
  2. Click GitHub
  3. Choose GitHub Enterprise from select menu
  4. Enter your personal GitHub Enterprise access token
  5. Click Save

github-enterprise-auth.png

Find your personal GitHub Enterprise access token

On your Github Enterprise account go to personal Settings:

enterprise-settings.png

Click on Personal access tokens button:

enterprise-token-button.png

Click on Generate new token button:

enterprise-token-generate.png

Enter Token description, and select repo and public_repo scopes. Click on Generate token button:

enterprise-token-fields.png

Copy and paste your token:

enterprise-token.png

Add your project's GitHub Enterprise repo url

For a GitHub Enterprise account airbrake-github.airbrake.io, for a user shifi who has a repo named airbrake the GitHub Enterprise URL you would use is:

https://airbrake-github.airbrake.io/shifi/airbrake.git
  1. Enter GitHub Enterprise repo URL
  2. Click Save

github-enterprise-repo-url.png

What do these settings mean?

Active: Pause/Unpause the integration
Auto create Github issue when an error occurs: Create a Github issue for every new type of Airbrake error
Production environment notifications only Only create Github issues for errors form the `production` environment

Please email support@airbrake.io If you have any issues or questions!