[BE] OAuth 로그인 인증 시스템 초기 구축 #5
Workflow file for this run
This file contains 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: AI Code Review | |
on: | |
pull_request: | |
types: [opened, synchronize] | |
permissions: | |
contents: read | |
pull-requests: write | |
jobs: | |
code-review: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.x' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install requests groq | |
- name: Run AI Code Review | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
GROQ_API_KEY: ${{ secrets.GROQ_API_KEY }} | |
run: | | |
export PYTHONPATH=$PYTHONPATH:${{ github.workspace }} | |
python .github/scripts/ai_code_review.py |