From 4f69bc9689ed930656e26e03f04b9aa3628bdfa4 Mon Sep 17 00:00:00 2001 From: probonopd Date: Mon, 12 Dec 2022 21:10:36 +0100 Subject: [PATCH] Create gpt-commit-summarizer.yml [ci skip] --- .github/workflows/gpt-commit-summarizer.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/gpt-commit-summarizer.yml diff --git a/.github/workflows/gpt-commit-summarizer.yml b/.github/workflows/gpt-commit-summarizer.yml new file mode 100644 index 0000000..e2d910e --- /dev/null +++ b/.github/workflows/gpt-commit-summarizer.yml @@ -0,0 +1,17 @@ +name: GPT Commits summarizer +# Summary: This action will write a comment about every commit in a pull request, as well as generate a summary for every file that was modified and add it to the review page, compile a PR summary from all commit summaries and file diff summaries, and delete outdated code review comments + +on: + pull_request: + types: [opened, synchronize] + +jobs: + summarize: + runs-on: ubuntu-latest + permissions: write-all # Some repositories need this line + + steps: + - uses: KanHarI/gpt-commit-summarizer@master + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}