Skip to content

Commit

Permalink
IA: Check IA reviewer (#872)
Browse files Browse the repository at this point in the history
* IA: Check IA reviewer

Add automatics reviews to ours prs

* needs Tests

* needs before

* Use their repo with hash
  • Loading branch information
shargon authored Feb 15, 2024
1 parent 0ff2b70 commit 44aea49
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,24 @@ jobs:
with:
github-token: ${{ secrets.GITHUB_TOKEN }}

Review:
needs: Test
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4

- name: AI Code Reviewer
uses: freeedcom/ai-codereviewer@a9a064dfa1db8c83f40ef63f6e247fa09c935ed6
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" # Optional: exclude patterns separated by commas

Release:
if: github.ref == 'refs/heads/master' && startsWith(github.repository, 'neo-project/')
needs: Test
if: github.ref == 'refs/heads/master' && startsWith(github.repository, 'neo-project/')
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down

0 comments on commit 44aea49

Please sign in to comment.