This version of GitHub Enterprise will be discontinued on This version of GitHub Enterprise was discontinued on 2020-08-20. No patch releases will be made, even for critical security issues. For better performance, improved security, and new features, upgrade to the latest version of GitHub Enterprise. For help with the upgrade, contact GitHub Enterprise support.

Article version: Enterprise Server 2.18

Creating a custom badge for your GitHub App

You can replace the default badge on your GitHub App by uploading your own logo image and customizing the background.

By default, a new GitHub App will have an automatically generated identicon. An identicon badge looks something like this:

Identicon

After you create a GitHub App, you can customize your app's badge by uploading a logo and selecting a background color. A badge is a square logo image inside of a circular badge. You can choose a background color for the badge, which can visually distinguish your app.

Your logo should be a PNG, JPG, or GIF file under 1 MB in size. For the best quality rendering, we recommend an image size of at least 200px x 200px.

To create a custom badge:

  1. In the upper-right corner of any page, click your profile photo, then click Settings.
    Settings icon in the user bar
  2. In the left sidebar, click Developer settings.
    Developer settings section
  3. In the left sidebar, click GitHub Apps.
    GitHub Apps section
  4. Select the GitHub App you want to modify.
    App selection
  5. In "Display information", drag-and-drop an image from a local folder or click Upload a logo to select an image from your computer.
    Upload a logo
  6. Crop your picture. When you're done, click Set new avatar.
    Crop and set logo
  7. In "Badge background color", type the hexadecimal color code of the background color for your badge.
    Badge background color

Ask a human

Can't find what you're looking for?

Contact us