diff --git a/.github/workflows/pr-description.yml b/.github/workflows/pr-description.yml new file mode 100644 index 0000000..e17cded --- /dev/null +++ b/.github/workflows/pr-description.yml @@ -0,0 +1,15 @@ +name: Autofill PR description + +on: pull_request + +jobs: + openai-pr-description: + runs-on: ubuntu-22.04 + + steps: + - name: Autofill PR description if empty using OpenAI + uses: ./ + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + openai_api_key: ${{ secrets.OPENAI_API_KEY }} + allowed_users: platisd