From 7e11ebd8bd945e79929a8d7966fbc73a199cab2b Mon Sep 17 00:00:00 2001 From: Sipke Schoorstra Date: Wed, 9 Aug 2023 13:22:44 +0200 Subject: [PATCH] Add PR body generator (#4304) --- .github/workflows/pr-body-generator.yml | 19 +++++++++++++++++++ Elsa.sln | 1 + 2 files changed, 20 insertions(+) create mode 100644 .github/workflows/pr-body-generator.yml diff --git a/.github/workflows/pr-body-generator.yml b/.github/workflows/pr-body-generator.yml new file mode 100644 index 000000000..d7f8d0ee1 --- /dev/null +++ b/.github/workflows/pr-body-generator.yml @@ -0,0 +1,19 @@ +name: Auto-PR-Body Generator + +on: + pull_request: + +permissions: + contents: read + repository-projects: write + pull-requests: write + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: AI powered Automatic PR Body Generation + uses: jbrocher/auto-pr-body-generator@v0.2.2 + with: + OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} \ No newline at end of file diff --git a/Elsa.sln b/Elsa.sln index 9c001888a..0b2b6cb9b 100644 --- a/Elsa.sln +++ b/Elsa.sln @@ -20,6 +20,7 @@ ProjectSection(SolutionItems) = preProject NuGet.Config = NuGet.Config .github\workflows\npm-packages.yml = .github\workflows\npm-packages.yml update-migrations-runtime.sh = update-migrations-runtime.sh + .github\workflows\pr-body-generator.yml = .github\workflows\pr-body-generator.yml EndProjectSection EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "docs", "docs", "{0354F050-3992-4DD4-B0EE-5FBA04AC72B6}"