-
Notifications
You must be signed in to change notification settings - Fork 0
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
chore: readme #3
Conversation
AI Code Review by Cody Summary of ChangeThis pull request focuses on updating the Feedback.github/workflows/code_review.yml
If you manually enter the directory only once at the top, you'd avoid repetition and potential for errors: - name: Clone cody-code-reviewer repository
run: |
git clone https://github.com/codylabs/cody-code-reviewer.git
cd cody-code-reviewer
- name: Set up Python 3.9
uses: actions/setup-python@v4
with:
python-version: "3.9"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run Code Review Model
run: |
python src/review_pull_request.py ${{ github.event.pull_request.number }} ${{ github.repository }} > ${{ github.workspace }}/output.txt
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
- name: Comment on Pull Request
run: |
python src/comment_on_pr.py ${{ github.event.pull_request.number }} "${{ secrets.GITHUB_TOKEN }}" ${{ github.repository }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} README.md
Recommendations
ConclusionThis pull request is a good step towards improving the overall structure and clarity of both the workflow file and the README. Address the few minor issues and it will be ready for merge. Thank you for your contributions! |
AI Code Review by Cody Summary of Changes: General Comments: GitHub Actions Workflow (
|
Update readme