-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Tomasz/continuous ai review #6930
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
name: CLI Review | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
cli-review: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version-file: ".nvmrc" | ||
|
||
- name: Install Continue CLI | ||
run: npm install -g @continuedev/[email protected] | ||
|
||
- name: Run Continue CLI Review | ||
run: | | ||
echo "Running Continue CLI with hardcoded prompt:" | ||
echo "==================================" | ||
echo "Review this pull request and provide feedback on code quality" | ||
echo "==================================" | ||
echo "" | ||
|
||
# Run the CLI with a hardcoded prompt and output text directly | ||
echo "Review this pull request and provide feedback on code quality" | cn --config "${{ inputs.assistant }}" -p | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Prompt for AI agents
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Was the idea that we would check the github actions log to see the output of the review? |
||
env: | ||
CONTINUE_API_KEY: ${{ secrets.CONTINUE_API_KEY }} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The job assumes Prompt for AI agents
|
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.
Do we still need a code review if the commit has already been pushed to main?
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.
This would be ideal