Skip to content

Commit

Permalink
added reviewr
Browse files Browse the repository at this point in the history
  • Loading branch information
mdshamoon committed Nov 26, 2023
1 parent 41ca955 commit c0e2364
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 213 deletions.
34 changes: 0 additions & 34 deletions .github/workflows/continuous-deployment.yml

This file was deleted.

122 changes: 0 additions & 122 deletions .github/workflows/cypress-testing.yml

This file was deleted.

31 changes: 0 additions & 31 deletions .github/workflows/netlify.yml

This file was deleted.

22 changes: 22 additions & 0 deletions .github/workflows/review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: AI Code Reviewer

on:
pull_request:
types:
- labeled
permissions: write-all
jobs:
review:
if: ${{ github.event.label.name == 'review' }}
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3

- name: AI Code Reviewer
uses: glific/ai-codereviewer@main
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
OPENAI_API_MODEL: "gpt-4" # Optional: defaults to "gpt-4"
exclude: "**/*.json, **/*.md, *.yml, *.lock" # Optional: exclude patterns separated by commas
26 changes: 0 additions & 26 deletions .github/workflows/unit-testing.yml

This file was deleted.

0 comments on commit c0e2364

Please sign in to comment.