Skip to content

Commit

Permalink
Merge pull request #5 from rubensflinco/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
rubensflinco authored May 12, 2024
2 parents 9e9badf + b6d830c commit 2495314
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/ai-code-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ name: "AI Code Review"

on:
pull_request:
paths-ignore:
- "*.md"
- "LICENSE"

jobs:
review:
Expand Down
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ We can tune the chunk size based on the model we use.
## Example usage
Here is an example to use the Action to review a pull request of the repository.
The actual file is located at [`.github/workflows/ai-code-review.yml`](.github/workflows/ai-code-review.yml).
We set `extra_prompt` to `You are very familiar with python too. Answer in Brazilian Portuguese!`, as the Action is implemented in Python.
We set `extra_prompt` to `Sempre responda em português brasileiro!`.
We aim to make GPT review a pull request from a point of view of a Python developer.

As a result of an execution of the Action, the Action posts a review comment to the pull request like the following image.
Expand All @@ -38,9 +38,6 @@ name: "AI Code Review"

on:
pull_request:
paths-ignore:
- "*.md"
- "LICENSE"

jobs:
review:
Expand Down

0 comments on commit 2495314

Please sign in to comment.