-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Gitpod badge is not displayed when PR doesn't have description #7488
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks for the detailed write up, @shaal! I remember seeing a similar report from @JanKoehnlein in #3812. This is also something to consider introducing as a preference in project settings, see #7426. |
Any word on if this can be fixed? We quite often have Pull Requests with no description as all the info is usually in our PR titles |
We also have this happening in multiple repos for mautic! |
Maybe Following will fix this
- const body: string | null = pr.body;
+ const body: string = pr.body | ""; |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Bug description
After adding
addBadge: true
to.gitpod.yml
When creating a new PR with no description, a Gitpod badge is not added to PR description.
Steps to reproduce
Make sure your repo has this code in
.gitpod.yml
-Create a new PR, make sure to only give a title to the PR, but no descirption.
Confirm that the PR has no Gitpod badge in its description.
Workspace affected
No response
Expected behavior
When
addBadge: true
is added to.gitpod.yml
, I expect the Gitpod badge to be displayed in all PRs, including PRs without a descirption.Example repository
https://github.com/shaal/gitpod-test--no-gitpod-badge-in-pr-without-description
I created 2 PRs -
Anything else?
No response
The text was updated successfully, but these errors were encountered: