diff --git a/.github/workflows/code-review.yml b/.github/workflows/code-review.yml index 11dd31c..c30aee9 100644 --- a/.github/workflows/code-review.yml +++ b/.github/workflows/code-review.yml @@ -1,9 +1,15 @@ +<<<<<<< Updated upstream name: Code Review +======= +name: Gitea GPT Code Review + +>>>>>>> Stashed changes on: issue_comment: types: [created, edited] jobs: +<<<<<<< Updated upstream code-review: runs-on: self_hosted if: github.event.comment.user.login == 'bhavik' && startsWith(github.event.comment.body, 'openai') @@ -15,4 +21,22 @@ jobs: OPENAI_TOKEN: ${{ secrets.OPENAI_API_KEY }} GITHUB_TOKEN: ${{ secrets.GH_CUSTOM_GITHUB_TOKEN }} FULL_REVIEW_COMMENT: 'openai' - REVIEW_COMMENT_PREFIX: 'openai:' \ No newline at end of file + REVIEW_COMMENT_PREFIX: 'openai:' +======= + review: + runs-on: self_hosted + + steps: + - name: Checkout code + uses: actions/checkout@v3 + + - name: Run Gitea GPT Code Review + uses: ingress-it-solutions/gitea-code-review-action@v1.13 + with: + openai-key: ${{ secrets.OPENAI_API_KEY }} + gitea-token: ${{ secrets.GITEA_TOKEN }} + gitea-url: http://220.90.135.190:3000 + model: gpt-3.5-turbo + language: Korean + max-chars: 3000 +>>>>>>> Stashed changes