ci(workflows): improve Cursor PR review with error handling and trust flag#9
Merged
ci(workflows): improve Cursor PR review with error handling and trust flag#9
Conversation
… flag - Add working-directory to ensure consistent execution context - Add --trust flag to Cursor agent for non-interactive mode - Implement error logging and validation for JSON output - Add checks for empty output and proper exit codes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Improves the CI workflow for automated PR reviews using the Cursor CLI.
Changes
Why
The previous implementation could silently fail or produce empty results without proper error reporting. These changes ensure:
Testing
Checklist
Summary by cubic
Hardens the Cursor PR review workflow with robust error handling and non-interactive execution, and fixes Firefox extension permissions by removing
cookiesand adding Firefox-specific manifest settings.Bug Fixes
cookiesfrom extension permissions.manifestto a function and add Firefoxbrowser_specific_settingswith a stablegecko.id.Refactors
working-directoryto${{ github.workspace }}for the Cursor step.--trustfor CI-safe, non-interactive mode.Written for commit 1e41d41. Summary will update on new commits.