Skip to content

Commit

Permalink
Added open AI PR describer
Browse files Browse the repository at this point in the history
  • Loading branch information
MrHinsh committed Jul 16, 2024
1 parent e12182d commit 1b0777c
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/open-pr-describer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: OpenAI PR Description Generator

on:
pull_request:
types:
- opened
- synchronize

permissions:
pull-requests: write
contents: read

jobs:
pull-request:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: Ant0wan/openai-pr@v1
with:
api-key: ${{ secrets.OPENAI_API_KEY }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions MigrationTools.sln
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".workflows", ".workflows",
ProjectSection(SolutionItems) = preProject
.github\workflows\code-review.yml = .github\workflows\code-review.yml
.github\workflows\main.yml = .github\workflows\main.yml
.github\workflows\open-pr-describer.yml = .github\workflows\open-pr-describer.yml
.github\workflows\opencommit.yml = .github\workflows\opencommit.yml
.github\workflows\stale.yml = .github\workflows\stale.yml
EndProjectSection
Expand Down

0 comments on commit 1b0777c

Please sign in to comment.