Skip to content

Commit

Permalink
ci: ✨ Open API 코드 리뷰 CI 파이프라인 추가 (#130)
Browse files Browse the repository at this point in the history
* fix: 배포 파이프라인 이미지 빌드 버전 추가

* chore: chat gpt code review ci pipeline 추가

* chore: chat gpt code review ci pipeline 추가

* rename: create-tag-and-release 파이프라인 주석 주가

* chore: review ci model 수정

* fix: model 옵션 제거
  • Loading branch information
psychology50 committed Jul 15, 2024
1 parent b5a9877 commit 6935304
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/create-tag-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
release:
needs: extract-info
if: ${{ needs.extract-info.outputs.module != 'Ignore' }}
if: ${{ needs.extract-info.outputs.module != 'Ignore' }} # Ignore로 시작하는 PR은 파이프라인 중단
runs-on: ubuntu-latest
permissions:
contents: write
Expand Down
19 changes: 19 additions & 0 deletions .github/workflows/open-api-code-review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Code Review

permissions:
contents: read
pull-requests: write

on:
pull_request:
types: [ opened, synchronize ]

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: anc95/ChatGPT-CodeReview@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
OPENAI_API_KEY: ${{ secrets.OPEN_API_KEY }}
LANGUAGE: Korean

0 comments on commit 6935304

Please sign in to comment.