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
# MAX_PATCH_LENGTH: 10000 # if the patch/diff length is large than MAX_PATCH_LENGTH, will be ignored and won't review. By default, with no MAX_PATCH_LENGTH set, there is also no limit for the patch/diff length.
32
-
# IGNORE_PATTERNS: /node_modules/**/*,*.md # glob pattern or regex pattern to ignore files, separated by comma
33
-
# INCLUDE_PATTERNS: "*.*" # glob pattern or regex pattern to include files, separated by comma
14
+
jobs:
15
+
test:
16
+
# if: ${{ contains(github.event.*.labels.*.name, 'gpt review') }} # Optional; to run only when a label is attached
MAX_PATCH_LENGTH: 10000# if the patch/diff length is large than MAX_PATCH_LENGTH, will be ignored and won't review. By default, with no MAX_PATCH_LENGTH set, there is also no limit for the patch/diff length.
32
+
IGNORE_PATTERNS: /node_modules/**/*,*.md # glob pattern or regex pattern to ignore files, separated by comma
33
+
INCLUDE_PATTERNS: "*.*"# glob pattern or regex pattern to include files, separated by comma
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # The GITHUB_TOKEN is there by default so you just need to keep it like it is and not necessarily need to add it as secret as it will throw an error. [More Details](https://docs.github.com/en/actions/security-guides/automatic-token-authentication#about-the-github_token-secret)
21
-
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
22
-
OPENAI_API_MODEL: "gpt-4o-mini"# Optional: defaults to "gpt-4"
23
-
#exclude: "**/*.json, **/*.md" # Optional: exclude patterns separated by commas
17
+
# - name: AI Code Reviewer
18
+
# uses: aidar-freeed/ai-codereviewer@main
19
+
# with:
20
+
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # The GITHUB_TOKEN is there by default so you just need to keep it like it is and not necessarily need to add it as secret as it will throw an error. [More Details](https://docs.github.com/en/actions/security-guides/automatic-token-authentication#about-the-github_token-secret)
21
+
# OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
22
+
# OPENAI_API_MODEL: "gpt-4o-mini" # Optional: defaults to "gpt-4"
0 commit comments