-
Notifications
You must be signed in to change notification settings - Fork 0
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
#86drpnn0q - Adicionar ai-codereviewer em todos os projetos que estam… #9
Conversation
types: | ||
- opened | ||
- synchronize | ||
permissions: write-all |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The permissions: write-all
setting gives all permissions to all actions. This can be a security risk. It's recommended to only grant the necessary permissions for each action.
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@v3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are using actions/checkout@v3
which is not the latest version. Consider updating to the latest version to get the latest features and bug fixes.
uses: actions/checkout@v3 | ||
|
||
- name: AI Code Reviewer | ||
uses: simplitech/ai-codereviewer@main |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are using the main
branch of the simplitech/ai-codereviewer
action. It's recommended to use a specific version of an action to ensure your workflows are not broken by changes in the main
branch.
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} | ||
OPENAI_API_MODEL: "gpt-4" # Optional: defaults to "gpt-4" | ||
exclude: "**/*.json, **/*.md" # Optional: exclude patterns separated by commas |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The exclude
field is excluding all .json
and .md
files. Make sure this is the intended behavior as it might exclude important files from the code review.
…os trabalhando