From 63d2d85c9da80db5687e8f47ba08fb692f595a52 Mon Sep 17 00:00:00 2001 From: Rubens Flinco Date: Sat, 11 May 2024 22:32:53 -0300 Subject: [PATCH 1/2] Update ai-code-review.yml --- .github/workflows/ai-code-review.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/ai-code-review.yml b/.github/workflows/ai-code-review.yml index f7a5a92..c15c1a0 100644 --- a/.github/workflows/ai-code-review.yml +++ b/.github/workflows/ai-code-review.yml @@ -14,9 +14,6 @@ name: "AI Code Review" on: pull_request: - paths-ignore: - - "*.md" - - "LICENSE" jobs: review: From b6d830c643676aa4ab56ec35183b2dbec362f9ba Mon Sep 17 00:00:00 2001 From: Rubens Flinco Date: Sat, 11 May 2024 22:33:56 -0300 Subject: [PATCH 2/2] Update README.md --- README.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/README.md b/README.md index 552abcc..696f014 100644 --- a/README.md +++ b/README.md @@ -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. @@ -38,9 +38,6 @@ name: "AI Code Review" on: pull_request: - paths-ignore: - - "*.md" - - "LICENSE" jobs: review: