-
Notifications
You must be signed in to change notification settings - Fork 44
Add PR context to GitHub step summary #755
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
Conversation
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.
Orca Security Scan Summary
| Status | Check | Issues by priority | |
|---|---|---|---|
| Infrastructure as Code | View in Orca | ||
| SAST | View in Orca | ||
| Secrets | View in Orca | ||
| Vulnerabilities | View in Orca |
|
Please mark which AI tools you used for this PR by checking the appropriate boxes:
Tip: If you want to avoid this comment in the future, you can add a label of the format |
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.
✨ PR Review
The PR adds PR context to GitHub step summaries, but the implementation has fragile JSON parsing that could cause workflow failures.
2 issues detected:
🐞 Bug - Multiple nested fromJSON operations without validation can cause workflow failures if the payload structure is unexpected.
Details: The step performs multiple nested fromJSON calls without error handling or validation. If the client_payload is malformed JSON or missing expected fields, the entire workflow will fail.
File:docs/downloads/gitstream.yml (39-41)🧹 Maintainability - The single line contains multiple complex expressions that are hard to parse visually and maintain.
Details: The echo command contains an extremely long line with repetitive complex JSON parsing expressions that make the code difficult to read and maintain.
File:docs/downloads/gitstream.yml (41-41)
Generated by LinearB AI and added by gitStream.
AI-generated content may contain inaccuracies. Please verify before using. We'd love your feedback! 🚀
MishaKav
left a comment
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.
LG
✨ PR Description
Purpose: Add PR context information to GitHub workflow step summary for better visibility and tracking.
Main changes:
Generated by LinearB AI and added by gitStream.
AI-generated content may contain inaccuracies. Please verify before using. We'd love your feedback! 🚀