Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev #5

Merged
merged 2 commits into from
May 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading