Closed
Description
Describe the bug
When you configure your .gitpod.yml
with:
github:
prebuilds:
addComment: true
the added comment should have a "Open/Review in Gitpod" button. But right now, it seems to have a broken image instead:
A few examples out in the wild:
- Use CUSTOM_XVFB_WxHxD for initial screen resolution workspace-images#349 (comment)
- [Full] bump go to 1.16 workspace-images#350 (comment)
This might have pushed projects to disable this feature: forem/forem@4b5622f
Steps to reproduce
- Open a Pull Request against any project using
addComment: true
e.g. https://github.com/gitpod-io/workspace-images
Expected behavior
- The button image should work
Additional information
The automated comment's HTML body seems to be generated here:
Maybe it's getBadgeImageURL
that no longer works properly:
gitpod/components/server/ee/src/prebuilds/github-app.ts
Lines 380 to 386 in 19fb170