Continuous ai review bot #5
Workflow file for this run
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
| 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/cli@1.4.25 | |
| - 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 -p --org continuedev | |
| env: | |
| CONTINUE_API_KEY: ${{ secrets.CONTINUE_API_KEY }} |