From df1e534a92a6d927c3d2922dc4b19790416b1e0b Mon Sep 17 00:00:00 2001 From: Will Hohyon Ryu Date: Thu, 7 Mar 2024 21:33:29 -0800 Subject: [PATCH] =?UTF-8?q?=ED=92=80=20=EB=A6=AC=ED=80=98=EC=8A=A4?= =?UTF-8?q?=ED=8A=B8=20=EC=84=A4=EB=AA=85=EC=9D=84=20=EC=9E=90=EB=8F=99?= =?UTF-8?q?=EC=9C=BC=EB=A1=9C=20=EC=B1=84=EC=9A=B0=EB=8A=94=20=EC=9B=8C?= =?UTF-8?q?=ED=81=AC=ED=94=8C=EB=A1=9C=EC=9A=B0=20=EC=B6=94=EA=B0=80=20?= =?UTF-8?q?=F0=9F=A4=96=F0=9F=93=9D.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/auto_pr_description.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/auto_pr_description.yml diff --git a/.github/workflows/auto_pr_description.yml b/.github/workflows/auto_pr_description.yml new file mode 100644 index 0000000..31a2437 --- /dev/null +++ b/.github/workflows/auto_pr_description.yml @@ -0,0 +1,15 @@ +name: Autofill PR Description + +on: pull_request + +jobs: + openai-pr-description: + runs-on: ubuntu-22.04 + steps: + - uses: hohyon-ryu/openai-pr-description@master + with: + max_tokens: 2000 + github_token: ${{ secrets.GITHUB_TOKEN }} + openai_api_key: ${{ secrets.OPENAI_API_KEY }} + openai_model: ${{ vars.OPENAI_API_MODEL }} + language: "Korean"