diff --git a/.github/workflows/continue-review.yaml b/.github/workflows/continue-review.yaml index edaf11627..67bdc135e 100644 --- a/.github/workflows/continue-review.yaml +++ b/.github/workflows/continue-review.yaml @@ -151,11 +151,10 @@ jobs: if: inputs.prompt == '' && github.event_name != 'pull_request' && (github.event_name != 'workflow_run' || github.event.workflow_run.event != 'pull_request') run: | cat > review_prompt.txt << 'EOF' - Please review the recent changes to this codebase and provide feedback on code quality, potential issues, and suggestions for improvement. + Please review the recent changes to this codebase and provide feedback on code quality, potential issues, and suggestions for improvement. You do not need to acknowledge what was done well. - Format your response as a markdown code review. + Format your response as a markdown code review with each comment having only a short description about the problem and suggested solution, each being separated by "\n\n---\n\n". - Only call the 'exit' tool if you find critical security vulnerabilities or bugs that would break production. EOF - name: Run Continue CLI Review @@ -167,7 +166,7 @@ jobs: echo "" # Run the CLI with the generated prompt and pipe output to code_review.md - cat review_prompt.txt | cn --config "${{ inputs.assistant }}" -p > code_review.md + cat review_prompt.txt | cn --auto --config "${{ inputs.assistant }}" -p > code_review.md env: CONTINUE_API_KEY: ${{ secrets.CONTINUE_API_KEY }}