Skip to content

Commit

Permalink
Add pr-description action
Browse files Browse the repository at this point in the history
  • Loading branch information
platisd committed May 9, 2024
1 parent cdd3f31 commit 6ff353f
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/pr-description.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Autofill PR description

on: pull_request

jobs:
openai-pr-description:
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@v4
- 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

0 comments on commit 6ff353f

Please sign in to comment.