Skip to content

Commit

Permalink
feature: add pr-review into repo
Browse files Browse the repository at this point in the history
</subject>

Branch: chatgpt_codereview

<type>:
- [ ] Bug fix
- [ ] Bug fix (Test)
- [x] New feature
- [ ] Breaking change
- [ ] Documentation update
- [ ] This change requires a documentation update

<body>

<footer>

Signed-off-by: Certseeds <51754303+Certseeds@users.noreply.github.com>
  • Loading branch information
Certseeds committed Mar 2, 2023
1 parent d9727a0 commit 9cbca51
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Code Review

permissions:
contents: read
pull-requests: write

on:
pull_request:
types: [opened, reopened, submitted, edited, synchronize]

jobs:
test:
if: github.repository == 'Certseeds/openpgpage'
runs-on: ubuntu-latest
steps:
- uses: anc95/ChatGPT-CodeReview@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
OPENAI_API_KEY: ${{ secrets.CHATGPT_SESSION_TOKEN }}

0 comments on commit 9cbca51

Please sign in to comment.