-
Notifications
You must be signed in to change notification settings - Fork 0
feat: change review output to JSON format #18
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
base: ssharma/pr2-security-commands
Are you sure you want to change the base?
feat: change review output to JSON format #18
Conversation
- Apply consistent formatting across base-action tests - Format README.md bullet points consistently - Minor whitespace and formatting fixes in various files Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
Add support for security-focused code review commands: - @droid security - Security review on PR changes - @droid security --full - Full repository security scan New features: - Security command parser (security, review-security, security-full) - Security review prompt with STRIDE methodology - Security scan prompt with threat model generation - Security configuration inputs in action.yml - Security-specific tracking comment message Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.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.
No high-severity issues found in this PR’s changes; it updates the review prompt template and tests to switch code review output to a JSON file plus a tracking-comment summary.
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.
Changes look correct: they update the review prompt/template and tests to switch the code-review step to JSON-file output plus updating a tracking comment, and they remove inline-commenting guidance from the prompt. No high-severity issues found in this PR’s changes.
- Fix SECURITY_SCAN_DAYS to avoid NaN (clamp to positive integer, default 7) - Remove instructions to commit threat model to PR branch during review - Remove instructions to commit patches to PR branch - Align security review with JSON output pattern (no direct inline comments) Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
Update review prompt to output findings to JSON file instead of posting inline comments directly. This enables the parallel workflow to combine code review and security review findings before posting. Changes: - Review writes findings to code-review-results.json - Tracking comment updated with summary table - Inline comments deferred to finalize step Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
394437b to
6d909b9
Compare
dff43cf to
01e9df8
Compare
Summary
Update review prompt to output findings to JSON file instead of posting inline comments directly.
Why This Change
This enables the parallel workflow (PR4) to combine code review and security review findings before posting, avoiding overlapping inline comments.
Changes
code-review-results.jsonThis PR is part of a split from the security review feature branch.
PR Stack