By default, a new GitHub App will have an automatically generated identicon. An identicon badge looks something like this:
After you register 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:
-
在任何页面的右上角,单击个人资料照片,然后单击“设置”。
-
在左侧边栏中,单击“ 开发人员设置”。
-
在左侧边栏中,单击“GitHub App”。
-
在要修改的 GitHub App 右边,单击“编辑”。
-
Under "Display information," drag and drop an image from a local folder or click Upload a logo to select an image from your computer.
-
Optionally, crop your image. When you're done, click Set new avatar.
-
Under "Badge background color," type the hexadecimal color code of the background color for your badge.