-
Notifications
You must be signed in to change notification settings - Fork 26
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
feat: Display link to the hub in pull request message when available #616
Conversation
Signed-off-by: Oleg Kopysov <o.kopysov@samsung.com>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #616 +/- ##
============================================
+ Coverage 93.88% 93.94% +0.05%
- Complexity 622 624 +2
============================================
Files 52 52
Lines 2126 2130 +4
Branches 247 248 +1
============================================
+ Hits 1996 2001 +5
+ Misses 57 56 -1
Partials 73 73 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved, please check single comment
+ (!StringUtils.isBlank(webhookConfig.getHubLink()) | ||
? ("\n\n###### <p align='right'>Check the validation details on the [website](" | ||
+ webhookConfig.getHubLink() | ||
+ ")</p>") | ||
: "")); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Too much embeddedness, hard to read; this needs to be stored in a separate value.
Same below
Signed-off-by: Oleg Kopysov <o.kopysov@samsung.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved.
Pull Request
Description
Added the link to the hub link (when available) at the end of the pull request message.
Type of change
Please delete options that are not relevant.
Testing
Tested locally using unit tests.
Checklist: