diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 6f6e7883..b00c2d96 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -10,7 +10,7 @@ jobs: check: strategy: matrix: - os: [ ubuntu-20.04, macos-latest ] + os: [ ubuntu-20.04 ] go: [ '1.21' ] name: Check ${{ matrix.os }} @ Go ${{ matrix.go }} runs-on: ${{ matrix.os }} diff --git a/.github/workflows/code_review.yml b/.github/workflows/code_review.yml new file mode 100644 index 00000000..ef626fd2 --- /dev/null +++ b/.github/workflows/code_review.yml @@ -0,0 +1,21 @@ +name: Code Review + +permissions: + contents: read + pull-requests: write + +on: + pull_request: + types: [opened, reopened, synchronize] + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: anc95/ChatGPT-CodeReview@main + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} + # optional + LANGUAGE: Korean + PROMPT: \ No newline at end of file