You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+63-39Lines changed: 63 additions & 39 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,38 +1,42 @@
1
1
# AI Code Review
2
-
3
-
Perform code review using various AI models (OpenAI, Google, Anthropic, Deepseek) on your GitHub repositories.
2
+
*is a GitHub Action that is 90% generated by AIs.
4
3
5
4
## Description
6
5
7
-
Perform code review using various AI models to analyze and provide feedback on your code. This GitHub Action helps improve the code quality by automatically reviewing pull requests, focusing on specified file extensions, and excluding specific paths.
6
+
Perform code review using various AI models (from OpenAI, Anthropic, and soon Google, Deepseek) to analyze and provide feedback on your code. This GitHub Action helps improve the code quality by automatically reviewing pull requests, focusing on specified file extensions, and excluding specific paths.
8
7
9
8
## Inputs
10
9
11
10
***token*** - Required. This GitHub token is used for authentication and to access your GitHub repository.
12
11
13
-
***ai_provider*** - Required. The AI provider to use (openai, google, anthropic, or deepseek). Default is 'openai'.
12
+
***owner*** - Required. The username of the repository owner.
13
+
14
+
***repo*** - Required. The name of the repository.
15
+
16
+
***pr_number*** - Required. The number of the pull request that needs to be reviewed.
17
+
18
+
***ai_provider*** - Required. The AI provider to use (openai, anthropic, and soon google, deepseek). Default is 'openai'.
19
+
14
20
15
21
***openai_api_key*** - Required if using OpenAI provider. This key is necessary to access OpenAI's API for code review purposes.
16
22
17
-
***openai_model*** - Optional. The OpenAI model name (e.g., gpt-4o, o3-mini). Default is 'gpt-4o'.
23
+
***openai_model*** - Optional. The OpenAI model name (e.g., gpt-4o). Default is 'gpt-4o'.
24
+
25
+
26
+
***anthropic_api_key*** - Required if using Anthropic provider. This key is necessary to access Anthropic's API for code review purposes.
27
+
28
+
***anthropic_model*** - Optional. The Anthropic model name (e.g., claude-3-7-sonnet-20250219). Default is 'claude-3-7-sonnet-latest'.
29
+
18
30
19
31
***google_api_key*** - Required if using Google provider. This key is necessary to access Google's API for code review purposes.
20
32
21
33
***google_model*** - Optional. The Google model name (e.g., gemini-2.0-flash-thinking-exp-01-21). Default is 'gemini-2.0-flash-thinking-exp-01-21'.
22
34
23
-
***anthropic_api_key*** - Required if using Anthropic provider. This key is necessary to access Anthropic's API for code review purposes.
24
-
25
-
***anthropic_model*** - Optional. The Anthropic model name (e.g., claude-3-5-sonnet-20241022). Default is 'claude-3-5-sonnet-20241022'.
26
35
27
36
***deepseek_api_key*** - Required if using Deepseek provider. This key is necessary to access Deepseek's API for code review purposes.
28
37
29
38
***deepseek_model*** - Optional. The Deepseek model name (e.g., deepseek-reasoner). Default is 'deepseek-reasoner'.
30
39
31
-
***owner*** - Required. The username of the repository owner.
32
-
33
-
***repo*** - Required. The name of the repository.
34
-
35
-
***pr_number*** - Required. The number of the pull request that needs to be reviewed.
36
40
37
41
***include_extensions*** - Optional. A comma-separated list of file extensions to include in the review (e.g., ".py,.js,.html"). If not specified, the action will consider all file types.
0 commit comments