Skip to content

Commit

Permalink
chore(BE): AI 코드 리뷰 워크플로우 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
viaunixue committed Oct 3, 2024
1 parent a1712c9 commit a6a2c8b
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions .github/workflows/code-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,31 +4,31 @@ on:
pull_request:
types: [opened, synchronize]

permissions: write-all
permissions:
contents: write
pull-requests: write

jobs:
code-review:
runs-on: self-hosted
permissions:
contents: write
pull-requests: write
code-review:
runs-on: self-hosted
steps:
- uses: actions/checkout@v2

steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.11'

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.11'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install requests
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install requests
- name: Run AI Code Review
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
export PYTHONPATH=$PYTHONPATH:${{ github.workspace }}
python .github/scripts/ai_code_review.py
- name: Run AI Code Review
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
echo "Starting AI Code Review"
export PYTHONPATH=$PYTHONPATH:${{ github.workspace }}
python .github/scripts/ai_code_review.py
echo "AI Code Review completed"

0 comments on commit a6a2c8b

Please sign in to comment.